K K | 1 Jul 2010 13:46
Picon
Favicon

Build failing

Hi All,
 
I have been trying to build the source, Open NMS version 1.8,  on windows environment.
 
Following is the error trace:
 
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenNMS ACL Webapp
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 60 source files to <my path on windows>\Open NMS\source\opennms
-source-1.8.0-2.tar\opennms-1.8.0-2\source\features\acl\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
error: error reading <my path on windows>\.m2\repository\commons-ch
ain\commons-chain\1.2\commons-chain-1.2.jar; error in opening zip file
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
error: error reading <my path on windows>\.m2\repository\commons-ch
ain\commons-chain\1.2\commons-chain-1.2.jar; error in opening zip file
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:699)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:540)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:519)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:371)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:332)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:181)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:4
1)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation fail
ure
error: error reading <my path on windows>\.m2\repository\commons-ch
ain\commons-chain\1.2\commons-chain-1.2.jar; error in opening zip file
        at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler
Mojo.java:516)
        at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:483)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:678)
        ... 17 more
 
I have commons-chain-1.2.jar file in the path it is expecting.
 
Can someone help me in this regard?
 
Thanks and Regards
Kiran

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
Daniel Geske | 1 Jul 2010 14:55
Favicon

Re: Build failing

Try to delete the file and have Maven download it again automatically next time you run the build.

On Thu, Jul 1, 2010 at 07:46, K K <kkforums <at> yahoo.in> wrote:
Hi All,
 
I have been trying to build the source, Open NMS version 1.8,  on windows environment.
 
Following is the error trace:
 
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenNMS ACL Webapp
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 60 source files to <my path on windows>\Open NMS\source\opennms
-source-1.8.0-2.tar\opennms-1.8.0-2\source\features\acl\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
error: error reading <my path on windows>\.m2\repository\commons-ch
ain\commons-chain\1.2\commons-chain-1.2.jar; error in opening zip file
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
error: error reading <my path on windows>\.m2\repository\commons-ch
ain\commons-chain\1.2\commons-chain-1.2.jar; error in opening zip file
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:699)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:540)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:519)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:371)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:332)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:181)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:4
1)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation fail
ure
error: error reading <my path on windows>\.m2\repository\commons-ch
ain\commons-chain\1.2\commons-chain-1.2.jar; error in opening zip file
        at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler
Mojo.java:516)
        at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:483)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:678)
        ... 17 more
 
I have commons-chain-1.2.jar file in the path it is expecting.
 
Can someone help me in this regard?
 
Thanks and Regards
Kiran


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install



--
Daniel Geske
Technology Director
Horn Group -- Digital Communications for Technology Companies
www.horngroup.com
(O) 646.202.9762
daniel.geske <at> horngroup.com

Awards - www.horngroup.com/company-awards
Brass Tacks Blog - horngroup.blogs.com
Twitter - twitter.com/horngroup

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
K K | 2 Jul 2010 07:03
Picon
Favicon

Re: Build failing

Hi Daniel,

Thanks for the reply. I have deleted the folder which contained the commons-chain-1.2.jar. Again i have run the mvn build. It was able to download the file, but the error it is throwing is "error in opening zip file" .

Strange!!! do you have any further inputs?

Regards
Kiran

--- On Thu, 1/7/10, Daniel Geske <dgeske <at> horngroup.com> wrote:

From: Daniel Geske <dgeske <at> horngroup.com>
Subject: Re: [opennms-install] Build failing
To: "Installation questions and help" <opennms-install <at> lists.sourceforge.net>
Date: Thursday, 1 July, 2010, 12:55 PM

Try to delete the file and have Maven download it again automatically next time you run the build.

On Thu, Jul 1, 2010 at 07:46, K K <kkforums <at> yahoo.in> wrote:
Hi All,
 
I have been trying to build the source, Open NMS version 1.8,  on windows environment.
 
Following is the error trace:
 
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenNMS ACL Webapp
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 60 source files to <my path on windows>\Open NMS\source\opennms
-source-1.8.0-2.tar\opennms-1.8.0-2\source\features\acl\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
error: error reading <my path on windows>\.m2\repository\commons-ch
ain\commons-chain\1.2\commons-chain-1.2.jar; error in opening zip file
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
error: error reading <my path on windows>\.m2\repository\commons-ch
ain\commons-chain\1.2\commons-chain-1.2.jar; error in opening zip file
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:699)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:540)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:519)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:371)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:332)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:181)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:4
1)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation fail
ure
error: error reading <my path on windows>\.m2\repository\commons-ch
ain\commons-chain\1.2\commons-chain-1.2.jar; error in opening zip file
        at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler
Mojo.java:516)
        at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:483)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:678)
        ... 17 more
 
I have commons-chain-1.2.jar file in the path it is expecting.
 
Can someone help me in this regard?
 
Thanks and Regards
Kiran


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install



--
Daniel Geske
Technology Director
Horn Group -- Digital Communications for Technology Companies
www.horngroup.com
(O) 646.202.9762
daniel.geske <at> horngroup.com

Awards - www.horngroup.com/company-awards
Brass Tacks Blog - horngroup.blogs.com
Twitter - twitter.com/horngroup


-----Inline Attachment Follows-----

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first

-----Inline Attachment Follows-----

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
K K | 6 Jul 2010 08:38
Picon
Favicon

how to start OpenNMS after building the source

Hi All,

I have downloaded the source code 1.8.0-2 from Sourceforge site. I was able to build the source code on my windows environment.

After building it, i was trying to run the OpenNMS. But i was not able to run it.

What i did was:

open <OpenNMS>/bin in command prompt and tried to run opennms. It says

"opennms' is not recognized as an internal or external command,
operable program or batch file."

I have OpenNMS jar executable which i have downloaded directly from the site and it is working fine. I have copied the opennms.bat file from this folder to my folder where i have built the source code.

It didnt work properly.

If anyone have any clue, please let me know.

Thanks and Regards
Kiran

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
娜 李 | 6 Jul 2010 09:12
Picon
Favicon

Re: how to start OpenNMS after building the source

Are you sure you tried the command of opennms.bat?
 
Date: Tue, 6 Jul 2010 12:08:09 +0530
From: kkforums <at> yahoo.in
To: opennms-install <at> lists.sourceforge.net
Subject: [opennms-install] how to start OpenNMS after building the source

Hi All,

I have downloaded the source code 1.8.0-2 from Sourceforge site. I was able to build the source code on my windows environment.

After building it, i was trying to run the OpenNMS. But i was not able to run it.

What i did was:

open <OpenNMS>/bin in command prompt and tried to run opennms. It says

"opennms' is not recognized as an internal or external command,
operable program or batch file."

I have OpenNMS jar executable which i have d ownloaded directly from the site and it is working fine. I have copied the opennms.bat file from this folder to my folder where i have built the source code.

It didnt work properly.

If anyone have any clue, please let me know.

Thanks and Regards
Kiran


Hotmail: Trusted email with powerful SPAM protection. Sign up now.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
K K | 13 Jul 2010 09:25
Picon
Favicon

Re: how to start OpenNMS after building the source

Hi Leen,

Thanks for the response. Once i built the source code, i observed that there is no opennms batch file. I copied it from my already installed folder and copied to the new build folder.

Now i am getting

Attempting to load jicmp library from this location.
[INFO] Successfully loaded jicmp library.
An error occurred while attempting to start the "OpenNMS:Name=Eventd" service (c
lass org.opennms.netmgt.eventd.jmx.Eventd).  Shutting down and exiting.
javax.management.RuntimeMBeanException: RuntimeException thrown in operation ini
t

Regards
Kiran
--- On Tue, 6/7/10, 娜 李 <leen0206 <at> hotmail.com> wrote:

From: 娜 李 <leen0206 <at> hotmail.com>
Subject: Re: [opennms-install] how to start OpenNMS after building the source
To: opennms-install <at> lists.sourceforge.net
Date: Tuesday, 6 July, 2010, 7:12 AM

Are you sure you tried the command of opennms.bat?
 
Date: Tue, 6 Jul 2010 12:08:09 +0530
From: kkforums <at> yahoo.in
To: opennms-install <at> lists.sourceforge.net
Subject: [opennms-install] how to start OpenNMS after building the source

Hi All,

I have downloaded the source code 1.8.0-2 from Sourceforge site. I was able to build the source code on my windows environment.

After building it, i was trying to run the OpenNMS. But i was not able to run it.

What i did was:

open <OpenNMS>/bin in command prompt and tried to run opennms. It says

"opennms' is not recognized as an internal or external command,
operable program or batch file."

I have OpenNMS jar executable which i have downloaded directly from the site and it is working fine. I have copied the opennms.bat file from this folder to my folder where i have built the source code.

It didnt work properly.

If anyone have any clue, please let me know.

Thanks and Regards
Kiran


Hotmail: Trusted email with powerful SPAM protection. Sign up now.

-----Inline Attachment Follows-----

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first

-----Inline Attachment Follows-----

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
Tarus Balog | 19 Jul 2010 20:56
Favicon

Re: how to start OpenNMS after building the source


On Jul 13, 2010, at 3:25 AM, K K wrote:

> Thanks for the response. Once i built the source code, i observed that there is no opennms batch file. I
copied it from my already installed folder and copied to the new build folder.
> 
> Now i am getting 
> 
> Attempting to load jicmp library from this location.
> [INFO] Successfully loaded jicmp library.
> An error occurred while attempting to start the "OpenNMS:Name=Eventd" service (c
> lass org.opennms.netmgt.eventd.jmx.Eventd).  Shutting down and exiting.
> javax.management.RuntimeMBeanException: RuntimeException thrown in operation ini

This is fixed with OpenNMS 1.8.1

-T

_______________________________________________________________________
Tarus Balog, OpenNMS Maintainer             Main:   +1 919 533 0160
The OpenNMS Group, Inc.                     Fax:    +1 503 961 7746
Email: tarus <at> opennms.org                    URL: http://www.opennms.org
PGP Key Fingerprint: 8945 8521 9771 FEC9 5481  512B FECA 11D2 FD82 B45C

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install

Andrew Artemyev | 21 Jul 2010 10:12
Picon

opennms 1.8.1 build problem

Hello All,

I can`t build opennms from source:
nms# uname -a
FreeBSD nms.omsk.ru 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4

nms# java -version
java version "1.6.0_07"
Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02)
Diablo Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)

Build error:
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [bundle:bundle {execution: default-bundle}]
[WARNING] Warning building bundle org.opennms.features.sms-reflector:commands:bundle:1.8.1 : Instructions for Export-Package that are never used: org\.opennms\.sms\.reflector\.commands\..*|org\.opennms\.sms\.reflector\.commands
[WARNING] Warning building bundle org.opennms.features.sms-reflector:commands:bundle:1.8.1 : Superfluous export-package instructions: [org.opennms.sms.reflector.commands.*]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: default}]
[INFO] Building jar: /usr/home/whyberg/opennms.1.8.1/opennms-1.8.1-1/source/features/sms-reflector/commands/target/commands-1.8.1-sources.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: /usr/home/whyberg/opennms.1.8.1/opennms-1.8.1-1/source/features/sms-reflector/commands/target/commands-1.8.1-sources.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing /usr/home/whyberg/opennms.1.8.1/opennms-1.8.1-1/source/features/sms-reflector/commands/target/commands-1.8.1.jar to /root/.m2/repository/org/opennms/features/sms-reflector/commands/1.8.1/commands-1.8.1.jar
[INFO] Installing /usr/home/whyberg/opennms.1.8.1/opennms-1.8.1-1/source/features/sms-reflector/commands/target/commands-1.8.1-sources.jar to /root/.m2/repository/org/opennms/features/sms-reflector/commands/1.8.1/commands-1.8.1-sources.jar
[INFO] Installing /usr/home/whyberg/opennms.1.8.1/opennms-1.8.1-1/source/features/sms-reflector/commands/target/commands-1.8.1-sources.jar to /root/.m2/repository/org/opennms/features/sms-reflector/commands/1.8.1/commands-1.8.1-sources.jar
[INFO] [bundle:install {execution: default-install}]
[INFO] Parsing file:/root/.m2/repository/repository.xml
[INFO] Installing org/opennms/features/sms-reflector/commands/1.8.1/commands-1.8.1.jar
[INFO] Writing OBR metadata
[INFO] ------------------------------------------------------------------------
[INFO] Building org.opennms.features.sms-reflector.sms-monitor [org.opennms.sms.monitor]
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [jaxb-schemagen:generate {execution: default}]
[FATAL ERROR] com.sun.tools.jxc.maven2.SchemaGenMojo#execute() caused a linkage error (java.lang.NoClassDefFoundError) and may be out-of-date. Check the realms:
[FATAL ERROR] Plugin realm = app0.child-container[com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin:1.2]
urls[0] = file:/root/.m2/repository/com/sun/tools/jxc/maven2/maven-jaxb-schemagen-plugin/1.2/maven-jaxb-schemagen-plugin-1.2.jar
urls[1] = file:/root/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
urls[2] = file:/root/.m2/repository/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar
urls[3] = file:/root/.m2/repository/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar
urls[4] = file:/root/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar
urls[5] = file:/root/.m2/repository/com/sun/xml/bind/jaxb-impl/2.0.2/jaxb-impl-2.0.2.jar
urls[6] = file:/root/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar
urls[7] = file:/root/.m2/repository/com/sun/xml/bind/jaxb-xjc/2.0.2/jaxb-xjc-2.0.2.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/usr/home/whyberg/opennms.1.8.1/opennms-1.8.1-1/source/maven/lib/maven-2.2.0-uber.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] com/sun/mirror/apt/AnnotationProcessorFactory
com.sun.mirror.apt.AnnotationProcessorFactory
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: com/sun/mirror/apt/AnnotationProcessorFactory
        at com.sun.tools.jxc.maven2.SchemaGenMojo.execute(SchemaGenMojo.java:143)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:41)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.ClassNotFoundException: com.sun.mirror.apt.AnnotationProcessorFactory
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
        at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
        at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
        at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        ... 20 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 minutes 21 seconds
[INFO] Finished at: Wed Jul 21 14:57:01 OMSST 2010
[INFO] Final Memory: 173M/457M
[INFO] ------------------------------------------------------------------------

HELP Please!!

--
Best regards,
Andrew Artemyev

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
Andrew Artemyev | 21 Jul 2010 10:22
Picon

build from source problem

Hello All,

I can`t build opennms from source:
nms# uname -a
FreeBSD nms.omsk.ru 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4

nms# java -version
java version "1.6.0_07"
Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02)
Diablo Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)

Build error:
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [bundle:bundle {execution: default-bundle}]
[WARNING] Warning building bundle org.opennms.features.sms-

reflector:commands:bundle:1.8.1 : Instructions for Export-Package that are never used: org\.opennms\.sms\.reflector\.commands\..*|org\.opennms\.sms\.reflector\.commands
[WARNING] Warning building bundle org.opennms.features.sms-reflector:commands:bundle:1.8.1 : Superfluous export-package instructions: [org.opennms.sms.reflector.commands.*]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: default}]
[INFO] Building jar: /usr/home/whyberg/opennms.1.8.1/opennms-1.8.1-1/source/features/sms-reflector/commands/target/commands-1.8.1-sources.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: /usr/home/whyberg/opennms.1.8.1/opennms-1.8.1-1/source/features/sms-reflector/commands/target/commands-1.8.1-sources.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing /usr/home/whyberg/opennms.1.8.1/opennms-1.8.1-1/source/features/sms-reflector/commands/target/commands-1.8.1.jar to /root/.m2/repository/org/opennms/features/sms-reflector/commands/1.8.1/commands-1.8.1.jar
[INFO] Installing /usr/home/whyberg/opennms.1.8.1/opennms-1.8.1-1/source/features/sms-reflector/commands/target/commands-1.8.1-sources.jar to /root/.m2/repository/org/opennms/features/sms-reflector/commands/1.8.1/commands-1.8.1-sources.jar
[INFO] Installing /usr/home/whyberg/opennms.1.8.1/opennms-1.8.1-1/source/features/sms-reflector/commands/target/commands-1.8.1-sources.jar to /root/.m2/repository/org/opennms/features/sms-reflector/commands/1.8.1/commands-1.8.1-sources.jar
[INFO] [bundle:install {execution: default-install}]
[INFO] Parsing file:/root/.m2/repository/repository.xml
[INFO] Installing org/opennms/features/sms-reflector/commands/1.8.1/commands-1.8.1.jar
[INFO] Writing OBR metadata
[INFO] ------------------------------------------------------------------------
[INFO] Building org.opennms.features.sms-reflector.sms-monitor [org.opennms.sms.monitor]
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [jaxb-schemagen:generate {execution: default}]
[FATAL ERROR] com.sun.tools.jxc.maven2.SchemaGenMojo#execute() caused a linkage error (java.lang.NoClassDefFoundError) and may be out-of-date. Check the realms:
[FATAL ERROR] Plugin realm = app0.child-container[com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin:1.2]
urls[0] = file:/root/.m2/repository/com/sun/tools/jxc/maven2/maven-jaxb-schemagen-plugin/1.2/maven-jaxb-schemagen-plugin-1.2.jar
urls[1] = file:/root/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
urls[2] = file:/root/.m2/repository/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar
urls[3] = file:/root/.m2/repository/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar
urls[4] = file:/root/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar
urls[5] = file:/root/.m2/repository/com/sun/xml/bind/jaxb-impl/2.0.2/jaxb-impl-2.0.2.jar
urls[6] = file:/root/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar
urls[7] = file:/root/.m2/repository/com/sun/xml/bind/jaxb-xjc/2.0.2/jaxb-xjc-2.0.2.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/usr/home/whyberg/opennms.1.8.1/opennms-1.8.1-1/source/maven/lib/maven-2.2.0-uber.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] com/sun/mirror/apt/AnnotationProcessorFactory
com.sun.mirror.apt.AnnotationProcessorFactory
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: com/sun/mirror/apt/AnnotationProcessorFactory
        at com.sun.tools.jxc.maven2.SchemaGenMojo.execute(SchemaGenMojo.java:143)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:41)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.ClassNotFoundException: com.sun.mirror.apt.AnnotationProcessorFactory
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
        at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
        at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
        at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        ... 20 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 minutes 21 seconds
[INFO] Finished at: Wed Jul 21 14:57:01 OMSST 2010
[INFO] Final Memory: 173M/457M
[INFO] ------------------------------------------------------------------------

HELP Please!!

--
Best regards,
Andrew Artemyev
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
Ronny Trommer | 21 Jul 2010 10:28

Re: opennms 1.8.1 build problem


Hi Andrew,

which command you have used to compile the source? Have you tried

	cd $OPENNMS_SOURCE
	./build.sh clean:clean
	./build.sh -Dopennms.home=<your-opennms-home> install assembly:directory-inline

Try to avoid problems with your downloaded maven repository. To verify I delete the whole local
directory in /root/.m2 (I assume you compile as root)

Greetings Ronny

On Jul 21, 2010, at 10:12 AM, Andrew Artemyev wrote:

> Hello All,
> 
> I can`t build opennms from source:
> nms# uname -a
> FreeBSD nms.omsk.ru 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4
> 
> nms# java -version
> java version "1.6.0_07"
> Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02)
> Diablo Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)
> 
> Build error:
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] No sources to compile
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Tests are skipped.
> [INFO] [bundle:bundle {execution: default-bundle}]
> [WARNING] Warning building bundle org.opennms.features.sms-reflector:commands:bundle:1.8.1 :
Instructions for Export-Package that are never used: org\.opennms\.sms\.reflector\.commands\..*|org\.opennms\.sms\.reflector\.commands
> [WARNING] Warning building bundle org.opennms.features.sms-reflector:commands:bundle:1.8.1 :
Superfluous export-package instructions: [org.opennms.sms.reflector.commands.*]
> [INFO] Preparing source:jar
> [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
> [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
> [INFO] No goals needed for project - skipping
> [INFO] [source:jar {execution: default}]
> [INFO] Building jar: /usr/home/whyberg/opennms.1.8.1/opennms-1.8.1-1/source/features/sms-reflector/commands/target/commands-1.8.1-sources.jar
> [INFO] Preparing source:jar
> [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
> [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
> [INFO] No goals needed for project - skipping
> [INFO] [source:jar {execution: attach-sources}]
> [INFO] Building jar: /usr/home/whyberg/opennms.1.8.1/opennms-1.8.1-1/source/features/sms-reflector/commands/target/commands-1.8.1-sources.jar
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing
/usr/home/whyberg/opennms.1.8.1/opennms-1.8.1-1/source/features/sms-reflector/commands/target/commands-1.8.1.jar
to /root/.m2/repository/org/opennms/features/sms-reflector/commands/1.8.1/commands-1.8.1.jar
> [INFO] Installing
/usr/home/whyberg/opennms.1.8.1/opennms-1.8.1-1/source/features/sms-reflector/commands/target/commands-1.8.1-sources.jar
to /root/.m2/repository/org/opennms/features/sms-reflector/commands/1.8.1/commands-1.8.1-sources.jar
> [INFO] Installing
/usr/home/whyberg/opennms.1.8.1/opennms-1.8.1-1/source/features/sms-reflector/commands/target/commands-1.8.1-sources.jar
to /root/.m2/repository/org/opennms/features/sms-reflector/commands/1.8.1/commands-1.8.1-sources.jar
> [INFO] [bundle:install {execution: default-install}]
> [INFO] Parsing file:/root/.m2/repository/repository.xml
> [INFO] Installing org/opennms/features/sms-reflector/commands/1.8.1/commands-1.8.1.jar
> [INFO] Writing OBR metadata
> [INFO] ------------------------------------------------------------------------
> [INFO] Building org.opennms.features.sms-reflector.sms-monitor [org.opennms.sms.monitor]
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [jaxb-schemagen:generate {execution: default}]
> [FATAL ERROR] com.sun.tools.jxc.maven2.SchemaGenMojo#execute() caused a linkage error
(java.lang.NoClassDefFoundError) and may be out-of-date. Check the realms:
> [FATAL ERROR] Plugin realm = app0.child-container[com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin:1.2]
> urls[0] = file:/root/.m2/repository/com/sun/tools/jxc/maven2/maven-jaxb-schemagen-plugin/1.2/maven-jaxb-schemagen-plugin-1.2.jar
> urls[1] = file:/root/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> urls[2] = file:/root/.m2/repository/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar
> urls[3] = file:/root/.m2/repository/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar
> urls[4] = file:/root/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar
> urls[5] = file:/root/.m2/repository/com/sun/xml/bind/jaxb-impl/2.0.2/jaxb-impl-2.0.2.jar
> urls[6] = file:/root/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar
> urls[7] = file:/root/.m2/repository/com/sun/xml/bind/jaxb-xjc/2.0.2/jaxb-xjc-2.0.2.jar
> [FATAL ERROR] Container realm = plexus.core
> urls[0] = file:/usr/home/whyberg/opennms.1.8.1/opennms-1.8.1-1/source/maven/lib/maven-2.2.0-uber.jar
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] com/sun/mirror/apt/AnnotationProcessorFactory
> com.sun.mirror.apt.AnnotationProcessorFactory
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NoClassDefFoundError: com/sun/mirror/apt/AnnotationProcessorFactory
>         at com.sun.tools.jxc.maven2.SchemaGenMojo.execute(SchemaGenMojo.java:143)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>         at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:41)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.lang.ClassNotFoundException: com.sun.mirror.apt.AnnotationProcessorFactory
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
>         at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
>         at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
>         at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 20 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 5 minutes 21 seconds
> [INFO] Finished at: Wed Jul 21 14:57:01 OMSST 2010
> [INFO] Final Memory: 173M/457M
> [INFO] ------------------------------------------------------------------------
> 
> HELP Please!!
> 
> -- 
> Best regards,
> Andrew Artemyev

--
Ronny Trommer (Germany)
Web: http://www.open-factory.org
IRC: irc.freenode.org - #opennms

PGP key: B1BCE829E38398A0
Keyserver: keyserver.pgp.com


Gmane