idea2022最新版没有weblogic选项么,那这样改怎么部署weblogic项目呢
使用weblogic启动项目时报下边错误:
[J2EE:160177]The application at "D:\weblogic\Oracle\Middleware\user_projects\domains\base_domain2\autodeploy\dsas.myeclipse.bak" was not recognized as a valid application type. If this is an EAR file, please ensure the META-INF/application.xml exists. EJB-JARs should have a META-INF/ejb-jar.xml or corresponding annotations exist. If this is an exploded WAR, the name of directory must be end with ".war". RARs require a META-INF/ra.xml. A JMS deployment should be an XML file whose name ends with "-jms.xml". A JDBC deployment should be an XML file whose name ends with "-jdbc.xml". For other application types, please consult the WebLogic Server documentation.
[J2EE:160177]The application at "D:\weblogic\Oracle\Middleware\user_projects\domains\base_domain2\autodeploy\dsas.myeclipse.bak" was not recognized as a valid application type. If this is an EAR file, please ensure the META-INF/application.xml exists. EJB-JARs should have a META-INF/ejb-jar.xml or corresponding annotations exist. If this is an exploded WAR, the name of directory must be end with ".war". RARs require a META-INF/ra.xml. A JMS deployment should be an XML file whose name ends with "-jms.xml". A JDBC deployment should be an XML file whose name ends with "-jdbc.xml". For other application types, please consult the WebLogic Server documentation.
我的之所以报错是因为之前在该weblogic下的项目,被我删掉了,又添加了个新的项目,结果启动就报错了。
报错原因:
项目启动的时候加载的weblogic日志还有原来的项目记录,与现在的项目冲突。
修改放法:
1、先把weblogic下的项目删除掉;
2、找到以下目录将data、logs、tmp目录删除,就把之前项目的记录删除掉了,(base_domain2是项目所在的weblogic域)
3、添加新的项目到weblogic,清理一下: Progect--->clean ,重新启动项目。
如果还报错,找到找到base_domain域下的 autodeploy 目录,删除除了readme.txt的其他目录。
然后去myeclipse 清理一下重启项目,一般就能正常启动了。
抱歉,作为语言AI并没有实际操作经验,无法提供具体的解决方案。建议您查找相关的官方文档或者向相关技术人员寻求帮助。