报错内容:
错误一:
<Failure occured in the execution of deployment request with ID '1476409758532' for task '6'.Error is: 'weblogic.management.DeploymentException: [J2EE:160177]The application at "D:\bea\user_projects\domains\base_domain\.\autodeploy\aa" 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. WAR files require a WEB-INF/web.xml, and 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部署完毕,但是omp文件夹下只有一个WEB-INF文件
解决办法:
在修改Properties--->Java Build Path 下面的Source时,不小心把WebRoot也勾选上了.
将WebRoot取消勾选,重新部署异常就可以了