maven-glassfish-plugin

java.lang.VerifyError when deploying the new version of my Java EE web application

╄→гoц情女王★ 提交于 2019-12-13 03:58:43
问题 I modified some code in my current web project to add Spring transaction management. Everything works just fine when I deploy it in Eclipse or even when I call a "Maven clean" and a "Maven install" in my workspace. However when my continuous integration server (jenkins) tries to redeploy it on my distant server I get a java.lang.VerifyError and it fails: maven-glassfish-plugin:2.1:deploy (default-cli) @ myApp --- [INFO] asadmin --host localhost --port 4848 --user admin --passwordfile C:

Specify logging.properties in embedded Glassfish with maven-embedded-glassfish-plugin

狂风中的少年 提交于 2019-12-12 18:51:19
问题 I use a project template containing a Maven configuration for an embedded Glassfish (using the maven-embedded-glassfish-plugin). I need to enable logging, but I do not even know which logging engine is enabled in the Glassfish (since I did not create the template). The template uses slf4j-log4j12 as a dependency, but I am not sure if slf4j or java.util.logging does the actual logging. Therefore I created two logging files, one logging.properties and one log4j.properties and put them both to