Error: org.codehaus.classworlds.NoSuchRealmException: plexus.core

214 views
Skip to first unread message

Leo Huang

unread,
Apr 3, 2011, 9:27:06 PM4/3/11
to Maven中文
今天碰到一个异常:
org.codehaus.classworlds.NoSuchRealmException: plexus.core

google了一下,说删除本地的repository就可以了,当发现在我这里不行。
这里有没有朋友遇到过这个问题?如何解决的?

Juven Xu

unread,
Apr 3, 2011, 9:33:22 PM4/3/11
to mave...@googlegroups.com
提供完整的异常堆栈和环境上下文才能分析哦

2011/4/4 Leo Huang <liping.h...@gmail.com>

--
您收到此邮件是因为您订阅了 Google 网上论坛的“Maven中文”论坛。
要向此网上论坛发帖,请发送电子邮件至 mave...@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 maven-zh+u...@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/maven-zh?hl=zh-CN 访问此网上论坛。




--
- Juven Xu
- http://www.juvenxu.com/


Leo Huang

unread,
Apr 3, 2011, 10:41:51 PM4/3/11
to Maven中文
Thanks Juven, you can refer to the following article:

http://acoderslife.wordpress.com/2010/08/13/maven-glavin/


On Apr 4, 9:33 am, Juven Xu <juvens...@gmail.com> wrote:
> 提供完整的异常堆栈和环境上下文才能分析哦
>
> 2011/4/4 Leo Huang <liping.huang2...@gmail.com>

Leo Huang

unread,
Apr 3, 2011, 10:45:50 PM4/3/11
to Maven中文
org.codehaus.classworlds.NoSuchRealmException: plexus.core

at org.codehaus.classworlds.ClassWorld.getRealm(ClassWorld.java:128)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:
434)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

So far, the only fix I found for this is to blast away your local
repository folder, which is usually located in your ~/.m2 (windows is
x:\Documents And Settings\<username>\).

Leo Huang

unread,
Apr 5, 2011, 9:35:21 AM4/5/11
to Maven中文
更换JDK(JDK_U_18 -> JDK_U_24),更换maven(2.2.1 -> 3.0.3),均没有解决这个问题,在尝试过程中,主要
有下面两个异常:
1. java.lang.OutOfMemoryError: PermGen space
2. Exception java.lang.OutOfMemoryError occurred dispatching signal
SIGINT to handler- the VM may need to be forcibly terminated

Sutra Zhou

unread,
Apr 6, 2011, 5:59:15 AM4/6/11
to mave...@googlegroups.com, Leo Huang

Leo Huang

unread,
Apr 7, 2011, 8:15:41 AM4/7/11
to Maven中文
恩,是的,这个问题最终还是jvm的问题引起的,通过分析dump ,已经解决了。谢谢大家的回复。

On Apr 6, 5:59 pm, Sutra Zhou <zhoushu...@gmail.com> wrote:
> http://www.freshblurbs.com/explaining-java-lang-outofmemoryerror-perm...
>
> 2011/4/5 Leo Huang <liping.huang2...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages