Build errors in Eclipse with JAXB generated classes
Domanda
I'm experiencing a strange problem where Eclipse can't find JAXB generated classes when debugging on JBoss.
Here the steps that lead to the obstacle.
- I start my JBoss 4.2.3 in debug mode
- I deploy my Java project to the server
- I perform a minor change in the source code (like appending a whitespace)
- Eclipse builds the project a new
- Eclipse can't find the JAXB generated classes of an external library
- Build errors in Eclipse
- Hot code replacement fails
When I don't start JBoss in debug mode, everything works fine.
I suspect that the problem lies in the interplay of Eclipse and the JAXB generated classes. I'm using Eclipse Indigo and the m2eclipse plugin.
Soluzione
Using the JBossAS Tools, creating a new server from this plugin and deploying my .war
exploded has somehow mitigated this problem.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow