...DeploymentException: [J2EE:160177]The application at "C:\bea\user_projects\domains\registry\autodeploy\registry" 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这里异常出现的比较多点。大部分原因出在项目的移动或者IDE的更换还有文件的损害。
解决方案:
weblogic重新建立域,重新部署到新的域中就可以解决问题。
--转自