dev@glassfish.java.net

Re: Trunk build error - org.codehaus.classworlds.NoSuchRealmException: plexus.core

From: Amy Roh <amy.roh_at_oracle.com>
Date: Wed, 30 Nov 2011 15:23:23 -0800

The issue went away when I tried building it again...

On 11/30/11 2:50 PM, Amy Roh wrote:
> I keep getting this error building the trunk workspace. What could be
> causing this and how to avoid it?
>
> [INFO] Building PaaS Console Web App
> [INFO] task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] [enforcer:enforce {execution: enforce-versions}]
> [INFO] [osgiversion:compute-osgi-version {execution:
> compute-osgi-version}]
> [INFO] [gf:echo {execution: echo}]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building in /Users/Amy/v3-trunk/main/appserver/paas/console/webapp
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 41 source files to
> /Users/Amy/v3-trunk/main/appserver/paas/console/webapp/target/classes
> [INFO] [bundle:manifest {execution: bundle-manifest}]
> [WARNING] Ignoring project type war - supportedProjectTypes =
> [hk2-jar, bundle]
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> /Users/Amy/v3-trunk/main/appserver/paas/console/webapp/src/test/resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] No sources to compile
> [INFO] [surefire:test {execution: default-test}]
> [INFO] No tests to run.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> 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)
>