我正在尝试部署使用Java语言创建的企业Web应用程序。当我部署项目时,我从Glassfish服务器日志中收到此错误。我正在使用一个名为“MiuUsertableFacade”的无状态远程会话Bean,它与类库进行交互。
Severe: Exception while loading the app
Info: file:/C:/Users/miura/Documents/NetBeansProjects/RioGamesOnlinePortalApplication/dist/gfdeploy/RioGamesOnlinePortalApplication/RioGamesOnlinePortal_jar/_RioGamesOnlinePortalPU logout successful
Severe: Exception while loading the app : EJB Container initialization error
java.lang.RuntimeException: Error while binding JNDI name miuusertablefacade#com.riogames.Entity.MiuUsertableFacadeRemote for EJB MiuUsertableFacade
.......
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
at java.lang.Thread.run(Thread.java:745)
Caused by: javax.naming.NameAlreadyBoundException: Use rebind to override