阅读背景:

使用IntelliJ部署到远程Tomcat实例的Web应用程序找不到JNDI资源(javax.naming.NameNotFoundException)

来源:互联网 

I am using IntelliJ IDEA 14.0.2 to launch a local Tomcat 7.0.42 instance and then to separately deploy a WAR using a remote Tomcat run configuration. My web app fails to acquire a resource through JNDI and I suspect it is because it fails to remotely connect to JMX, although the WAR is deploying without issues if I comment out the JNDI lookup. If I include the Tomcat launch and WAR deployment in the same local Tomcat run configuration, the lookup works fine.I am using IntelliJ IDEA 14.0.2 to launch a loc




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: