odd enunciate errors

2 messages Options
Embed this post
Permalink
Roger Pack

odd enunciate errors

Reply Threaded More More options
Print post
Permalink
This may not be the best place to ask this [if not, please refer me
on...] but here's a situation...


Sometimes when I build a multiple submodule project, one submodule yields…


Building Das Storage Cell Service

Initializing Enunciate mechanism.
[INFO]

Entering GENERATE step....
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Problem exporting the API classes.


And within netbeans doing the same mvn install [I think] with “skip
tests” gets to a different submodule [also a war file], and says


...
Tests are skipped.
[#package]
[war:war]
Packaging webapp
[ERROR]Runtime Exception thrown during execution
[ERROR]dependenciesInfo : dependenciesInfo
[ERROR]---- Debugging information ----
[ERROR]message             : dependenciesInfo : dependenciesInfo
[ERROR]cause-exception     :
com.thoughtworks.xstream.mapper.CannotResolveClassException
[ERROR]cause-message       : dependenciesInfo : dependenciesInfo
[ERROR]class               : org.apache.maven.plugin.war.util.WebappStructure
[ERROR]required-type       : org.apache.maven.plugin.war.util.WebappStructure
[ERROR]path                : /webapp-structure/dependenciesInfo
[ERROR]line number         : 37
[ERROR]-------------------------------

Anybody?
Thanks.
-r

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Roger Pack

Re: odd enunciate errors

Reply Threaded More More options
Print post
Permalink
> [INFO] Problem exporting the API classes.

Turned out the problem was that I had two submodules, one depended on
the other, but the second was not listed in the root pom.  So somehow
netbeans was "sometimes" using a more updated version, and mvn never
was, causing the errors.
Thanks!
-r

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]