Cannot deploy EJB to Glassfish when using netbeans 11

匆匆过客 提交于 2019-12-11 14:32:13

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!