I also asked this question on Stack Overflow [1]
I'm trying to deploy an Apache Isis project on a WildFly server.
The project is just the/simpleapp-archetype-1.10.0/and it starts and
works well with*mvn antrun:run -P self-host*and*mvn jetty:run-war*.
For the jetty part, I added configuration to the org.eclipse.jetty
plugin of the parent pom.xml
|<plugin> <groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.3.2.v20150730</version> <configuration>
<war>${project.basedir}/webapp/target/simpleapp.war</war>
</configuration> </plugin> |
Now I wanted to deploy this on a WildFly server, but I get the following
error:
Cannot upload deployment: {"WFLYCTL0080: Failed services" =>
{"jboss.deployment.unit.\"simpleapp.war\".WeldStartService" =>
"org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"simpleapp.war\".WeldStartService: Failed to
start service Caused by:
org.jboss.weld.exceptions.DeploymentException: WELD-001408:
Unsatisfied dependencies for type IsisJdoSupport with qualifiers
@Default at injection point [BackedAnnotatedField] @Inject
org.apache.isis.objectstore.jdo.datanucleus.service.support.TimestampService.isisJdoSupport
at
org.apache.isis.objectstore.jdo.datanucleus.service.support.TimestampService.isisJdoSupport(TimestampService.java:0)
"}}
How can I fix this error, and why does jetty bypass this error ?
Regards
------------------------------------------------------------------------
[1]
http://stackoverflow.com/questions/34311775/deploying-apache-isis-on-wildfly