`
rommal7090
  • 浏览: 107431 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

java.lang.IllegalStateExceptThis loader has been closed and should not be in use

    博客分类:
  • java
阅读更多

今天用OC4J重新deploy一个project以后出现了

Caused by: java.lang.IllegalStateException: ClassLoader xxxx: This loader has been closed and should not be in use.

网上找了下发现是由于我们使用了一个VM Cache,当我们undeploy project后,Cache的instance还在运行,当project重新deploy以后,它会访问这个cache instance,但是这个cache instance里面cache的java class 之类的早已不存在,故会报 "This loader has been closed and should not be in use".

 

这时候将你的容器(oc4j,weblogic,websphere...)重新启动就好了

0
0
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics