简体   繁体   中英

class-loading throwing error in JBoss Wildfly

When I deployed my application mono.ear in JBoss 4.2, our jboss-web.xml has class-loading like below:

<class-loading java2ClassLoadingCompliance='false'> 
    <loader-repository> 
      com.mono.techstack:loader=mono.ear  
    </loader-repository> 
</class-loading>

Now I am migrating JBoss 4.2 to Wildfly 8. When I deployed my application mono.ear in JBoss Wildfly, class-loading is throwing error. So how can I load class in Wildfly 8?

I'm not familiar with JBoss 4, but when I deploy to Wildfly 8 & 9, i'm not even using any class loading directives. All of the dependencies defined in Maven are loaded automatically. There's some information here: https://docs.jboss.org/author/display/WFLY8/Class+Loading+in+WildFly

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM