<group name="FileUpload"> <configValue key="TempDir">upload</configValue> <configValue key="MaxSize">184857600</configValue> <configValue key="InMemorySize">10240</configValue> <!--files with specified ext names are not accespted when uploading --> <configValue key="Exclude">exe,java,jsp,html,htm,class,jar</configValue> </group>
[2019-05-24
16:26:52,178]ERROR[Line:166]
loadAuthService[IAuthManagerService=org.gocom.components.coframe.auth.DefaultAuthManagerService]
error. java.lang.LinkageError: loader constraint violation: when
resolving interface method
"javax.xml.stream.XMLStreamReader.getName()Ljavax/xml/namespace/QName;"
the class loader (instance of
weblogic/utils/classloaders/ChangeAwareClassLoader) of the current
class, com/primeton/spring/parser/SpringConfigFileParser, and the
class loader (instance of <bootloader>) for the method's defining
class, javax/xml/stream/XMLStreamReader, have different Class objects
for the type javax/xml/namespace/QName used in the signature
F:primeton6for3276ideeclipsejrebinjava -cp ant.jar;. FindClass com.primeton.spring.parser.SpringConfigFileParser F:primeton6for3276ideeclipse
(上述例子就是在F:primeton6for3276ideeclipse目錄下,搜索com.primeton.spring.parser.SpringConfigFileParser所在位置)
結果是eos-server-spring開頭的jarhtml
<groupId>bps.simbest</groupId> <artifactId>eos-server-spring</artifactId> <version>7.1.3.0</version>
<?xml version="1.0" encoding="UTF-8"?> <weblogic-web-app xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3.0.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.8/weblogic-web-app.xsd"> <container-descriptor> <prefer-web-inf-classes>false</prefer-web-inf-classes> <prefer-application-packages> <package-name>bps.simbest.*</package-name> </prefer-application-packages> <prefer-application-resources> <resource-name>bps.simbest.*</resource-name> </prefer-application-resources> </container-descriptor> </weblogic-web-app>
rebey.cnjava