WebLogic一些异常



javax.xml.stream.FactoryConfigurationError: Provider javax.xml.stream.XMLInputFactory could not be instantiated: java.lang.InstantiationException
at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:158)
at weblogic.application.descriptor.BasicMunger2.<clinit>(BasicMunger2.java:76)
at weblogic.application.ApplicationDescriptor$MyApplicationDescriptor.createXMLStreamReader(ApplicationDescriptor.java:438)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:369)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
Truncated. see log file for complete stacktrace
>

此问题已经解决,原来是在myeclipse中jdk版本的问题,我安装的是jdk1.6,而weblogic的默认版本是1.5.06,又长了一志。但是在每次配置域的时候选择其它jdk版本,选择的版本比weblogic的默认版本要高,报错,这可能是版本问题,但又郁闷,既然可以选择其它jdk,选了又不能运行,又何必呢,笑死人了bea




java.lang.ClassNotFoundException: com.bea.netuix.servlets.manager.SingleFileServlet
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:289)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:262)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Truncated. see log file for complete stacktrace
>

建议安装weblogic92,然后重新建domian。

你可能感兴趣的:(java,jdk,xml,weblogic,MyEclipse)