What is the main difference: deploying a WAR file and deploying a domain folder directly in a web application?
I deployed the web application in weblogic 12.1.2 as a WAR file , it works fine. But when I try to deploy the same application as the domain folder directly , I get the following error.
java.lang.ClassCastException: weblogic.j2ee.descriptor.wl.WeblogicApplicationBeanImpl cannot be attributed to weblogic.j2ee.descriptor.wl.WeblogicWebAppBean
I even fixed the namespace problem in weblogic-application.xml, I also checked the duplicate element in weblogic-application.xml, I can not find the duplicate element in it. Can someone help me solve this problem? Many thanks.
source
share