Subject: spring-boot:run in eclipse in v2 M3


In my case, the terminal command shell is what works - Ctrl-C is being
passed correctly.

In making it run from an Eclipse tomcat 9.0 container, I found that when I
follow these steps [1], I get this error [2].

-Brian
[1]:
   1.  Add Dynamic Web Module facet
   2. Modify domainapp.webapp.SimpleApp by adding:
@Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder
application) {
        return application.sources(SimpleApp.class);
    }
   3.  Copy target webapp directory to WebContent
   4.  Copy in isis-testing-integtestsupport-applib-2.0.0-M3.jar to
WebContent/WEB-INF/lib

[2]:
***************************
APPLICATION FAILED TO START
***************************

Description:

Parameter 0 of constructor in
org.apache.isis.core.security.authorization.manager.AuthorizationManager
required a single bean, but 2 were found:
- isisSecurityShiro.AuthorizorShiro: defined in null
- isisSecurityBypass.AuthorizorBypass: defined in null
Action:

Consider marking one of the beans as @Primary, updating the consumer to
accept multiple beans, or using @Qualifier to identify the bean that should
be consumed

On Wed, Apr 29, 2020 at 11:13 PM Rade, Joerg / Kuehne + Nagel / HAM GI-DP <
[EMAIL PROTECTED]> wrote: