简体   繁体   English

在从Eclipse创建的Weblogic10.3.6上部署WAR后,出现NoClassDefFoundError

[英]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.

相关问题 从Eclipse部署WebLogic应用程序时的NoClassDefFoundError - NoClassDefFoundError when deploying WebLogic application from Eclipse 从Eclipse部署到Weblogic 10.3.6-“没有可以从服务器添加或删除的资源。” - Deploying to Weblogic 10.3.6 from Eclipse — “There are no resources that can be added or removed from the server.” .war文件在12.1.3之后无法在带有WebLogic 10.3.6的Eclipse上运行-无法基于错误日志确定 - .war file not working on Eclipse w/ WebLogic 10.3.6 after working on 12.1.3 - can't figure out based on error log 部署战争后在Glassfish上出现NoClassDefFoundError - NoClassDefFoundError on Glassfish after deploying war 将Spring Boot部署到WebLogic 10.3.6中 - Deploying Spring boot into WebLogic 10.3.6 在weblogic 10.3.6上部署struts2.5 war文件时无法加载Action类 - Unable to load Action class while deploying struts2.5 war file on weblogic 10.3.6 从weblogic 9.2迁移到10.3.6无法加载bea_wls9_async_response.war - Migration from weblogic 9.2 to 10.3.6 Failed to load bea_wls9_async_response.war 从Weblogic 10.3.6升级到12.1.3 - Upgrade from Weblogic 10.3.6 to 12.1.3 应用weblogic 10.3.6补丁后,在“主”线程java.lang.NoClassDefFoundError中获取异常:weblogic.descriptor.BeanUpdateListener - getting Exception in thread “main” java.lang.NoClassDefFoundError: weblogic.descriptor.BeanUpdateListener after applying weblogic 10.3.6 patch 从Weblogic 9迁移到Weblogic 10.3.6后,未在Chrome上加载/ JS / css / html图像 - Images /JS /css/html are not loading on chrome after migration from Weblogic 9 to Weblogic 10.3.6
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM