Hi,

I am getting the following error messages when I build my own module that
uses the Apache Isis secuirity module.

[INFO] introspecting
org.apache.isis.core.metamodel.services.jdosupport.Persistable_downloadJdoMetadata:
class-level details
[INFO] did *not* find config properties to use JNDI datasource; will use
JDBC
[INFO] introspecting org.apache.isis.applib.services.iactn.Interaction:
class-level details
[INFO] calling @PostConstruct on all domain services
[WARNING] NOT configured
[ERROR]
[ERROR]
[ERROR]
[ERROR] @DomainObject annotation on
org.isisaddons.module.security.dom.role.ApplicationRole specifies unknown
repository
'org.isisaddons.module.security.dom.role.ApplicationRoleRepository'
[ERROR] @DomainObject annotation on
org.isisaddons.module.security.dom.user.ApplicationUser specifies unknown
repository
'org.isisaddons.module.security.dom.user.ApplicationUserRepository'
[ERROR]
[ERROR]
[ERROR]
[INFO] calling @PreDestroy on all domain services
[INFO] shutting down
org.apache.isis.core.metamodel.specloader.SpecificationLoader@7b795db7
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 28.171 s
[INFO] Finished at: 2017-07-24T17:47:03+10:00
[INFO] Final Memory: 36M/175M
[INFO]
------------------------------------------------------------------------

It seems the error message is incorrect as the ApplicationRoleRepository
and ApplicationUserRepository classes are present and marked as being
repositories.

In my module I have implemented an extension of ApplicationUser, maybe this
is a clue to what might be going wrong.  I cannot share the project at this
stage.

Of courese the Role and User classes are to be found in the same package as
their respective repositories in the security module.

Any ideas?

Steve

Reply via email to