问题
In my GlassFish Server, I got this error message:
In-place deployment at D:\simpers\simpers\simpers-war\build\web<br>
GlassFish Server, deploy, null, false<br>
D:\simpers\simpers\simpers-war\nbproject\build-impl.xml:1118: The module has not been deployed.<br>
See the server log for details.<br>
BUILD FAILED (total time: 5 seconds)<br>
回答1:
I got the same problem. Check you log and verify if it throws a missing Jar exception, that was my problem. For example, this was the log file
Caused by: java.lang.Exception: java.lang.NoClassDefFoundError: de/undercouch/bson4jackson/BsonFactory
Then, just add the missing Jar files.
You can find your server log file at:
Your_GlassFish_Location\glassfish\domains\domain1\logs\server.log
Hope it helps you! CYA
回答2:
I guess your jar file is broken or missing.
Solution: For Netbeans IDE go to project, select Project Properties.
From Project Properties wizard, Select Libraries.
select compile (tab), see any red line indicating Broken reference or missing library.
If you find any thing, remove it.
Add the corresponding library/JAR to the project.
来源:https://stackoverflow.com/questions/22830799/my-glassfish-server-deploy-null-false