问题
My question is similar to this one: https://apple.stackexchange.com/questions/64182/can-we-simply-rename-an-app-if-they-are-different-versions-and-keep-them-both
When I attempt to deploy my EJB to Glassfish I see this:
Exception while deploying the app [EntAppEJB-ejb] : Specified library jar javaee-api-8.0.jar does not exist: /Applications/NetBeans/Apache%20NetBeans%2011.1.app/Contents/Resources/NetBeans/enterprise/modules/ext/javaee-api-8.0.jar|#]
Initializing Mojarra 2.3.9 for context ''|#]
Loading application [__admingui] at [/]|#]
Loading application __admingui done in 1,819 ms|#]
Context path from ServletContext: differs from path from bundle: /|#]
I am using a Mac.
I have done some research and it tells me the problem could be because of the spaces in the file path. Can I simply rename: Apache NetBeans 11.app
to ApacheNetBeans11.app
. Is there a more elegant solution?
来源:https://stackoverflow.com/questions/58578584/cannot-deploy-ejb-to-glassfish-when-using-netbeans-11