[英]NoClassDefFoundError after deploying WAR on Weblogic10.3.6 created from Eclipse
I've created a simple web app and it works fine when I deploy it on internally configured server in eclipse. 我已经创建了一个简单的Web应用程序,并且在Eclipse中将其部署到内部配置的服务器上时可以正常运行。 But now I exported it as a WAR and tried to deploy on another Weblogic server.
但是现在我将其导出为WAR,并尝试在另一台Weblogic服务器上进行部署。 I get the following error:
我收到以下错误:
java.lang.NoClassDefFoundError: com/ofss/UcbparamConnector at jsp_servlet.__ucbparam12._jspService(__ucbparam12.java:88) java.lang.NoClassDefFoundError:com / ofss / UcbparamConnector位于jsp_servlet .__ ucbparam12._jspService(__ ucbparam12.java:88)
The UcbparamConnector.class is present in the WAR under WEB-INF/classes/ but looks like it is not found during the runtime. UcbparamConnector.class在WAR中位于WEB-INF / classes /下,但看起来好像在运行时找不到。 Please suggest what could have gone wrong.
请指出可能出了什么问题。
The other Weblogic server was configured to run on different JRE which was causing this problem. 其他Weblogic服务器被配置为在导致此问题的其他JRE上运行。 After changing JDK path, web app is working as expected.
更改JDK路径后,Web应用程序将按预期运行。 Thank you.
谢谢。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.