isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Cameron <steve.cameron...@gmail.com>
Subject Issue in moving to 1.16.0
Date Thu, 11 Jan 2018 03:27:08 GMT
Hi,

I can run an App in Eclipse OK, but when I try to install it on a test
server in Tomcat i get an error perventing the app starting

Caused by: java.lang.NoSuchMethodError:
org.apache.isis.applib.AppManifestAbstract.<init>(Lorg/apache/isis/applib/AppManifestAbstract$BuilderAbstract;)V
        at
org.apache.isis.applib.AppManifestAbstract2.<init>(AppManifestAbstract2.java:36)
        at
cooperation.application.manifest.CooperationAppAppManifest.<init>(CooperationAppAppManifest.java:58)

the relevant CooperationAppAppManifest.java is:

package cooperation.application.manifest;

import org.apache.isis.applib.AppManifestAbstract2;

import com.google.common.collect.ImmutableMap;

import
au.org.cooperation.modules.base.dom.CooperationBaseModuleDomSubmodule;
import cooperation.application.CooperationAppApplicationModule;
import
cooperation.application.fixture.CooperationAppApplicationModuleFixtureSubmodule;
import
cooperation.application.services.CooperationAppApplicationModuleServicesSubmodule;


/**
 * Bootstrap the application.
 */
public class CooperationAppAppManifest extends AppManifestAbstract2 {

    public static final Builder BUILDER = Builder.forModule(new
CooperationAppApplicationModule())
            .withAdditionalModules(
                    CooperationBaseModuleDomSubmodule.class,
                    CooperationAppApplicationModuleServicesSubmodule.class,
                    CooperationAppApplicationModuleFixtureSubmodule.class,
                    org.isisaddons.module.security.SecurityModule.class
            )

.withConfigurationPropertiesFile(CooperationAppAppManifest.class,
                    "isis.properties",
                    "authentication_shiro.properties",
                    "persistor_datanucleus.properties",
                    "viewer_restfulobjects.properties",
                    "viewer_wicket.properties"
            ).withAuthMechanism("shiro")
            .withAdditionalServices(

org.isisaddons.module.security.dom.password.PasswordEncryptionServiceUsingJBcrypt.class,

org.isisaddons.module.security.dom.permission.PermissionsEvaluationServiceAllowBeatsVeto.class
            ).withConfigurationProperties(ImmutableMap.of(
                    "isis.reflector.facets.include",

"org.isisaddons.module.security.facets.TenantedAuthorizationFacetFactory"));

    public CooperationAppAppManifest() {
        super(BUILDER); //*line 58*
    }

}

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message