users@jersey.java.net

RE: [Jersey] Maven building error of jersey-server

From: cmoulliard <cmoulliard_at_xpectis.com>
Date: Thu, 14 Jan 2010 07:41:58 -0800 (PST)

Revision 3185 too.

 

Charles Moulliard
Senior Enterprise Architect / Project Delivery Manager

Xpectis
12, route d'Esch
L-1470 Luxembourg

Phone +352 25 10 70 470
Mobile +352 621 45 36 22
Fax +352 25 10 70 295

e-mail cmoulliard_at_xpectis.com
web site www.xpectis.com

  _____

From: Paul Sandoz [via Jersey]
[mailto:ml-node+4393224-1272727551_at_n2.nabble.com]
Sent: jeudi 14 janvier 2010 16:20
To: cmoulliard
Subject: Re: [Jersey] Maven building error of jersey-server

 

Hi,

What revision is your local repo at?

   jersey $ svn update
   At revision 3185.

I tried with maven 2.2.1 and SE 6 on th emac and it worked fine:

   jersey $ mvn -verson
   Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
   Java version: 1.6.0_17
   Java home: /System/Library/Frameworks/JavaVM.framework/Versions/
1.6.0/Home
   Default locale: en_US, platform encoding: MacRoman
   OS name: "mac os x" version: "10.5.8" arch: "x86_64" Family: "mac"



[INFO] Building jersey-server
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory /Users/paulsandoz/Projects/jersey/trunk/
jersey/jersey-server/target
[INFO] [buildnumber:create {execution: default}]
[INFO] Storing buildNumber: 01/14/2010 04:18 PM at timestamp:
1263482314710
[INFO] [jaxb:generate {execution: default}]
[INFO] /Users/paulsandoz/Projects/jersey/trunk/jersey/jersey-server/
target/generated-sources/xjc/com/sun/research/ws/wadl is not found and
thus excluded from the dependency check
[INFO] Compiling file:/Users/paulsandoz/Projects/jersey/trunk/jersey/
jersey-server/etc/wadl.xsd and others
[INFO] Writing output to /Users/paulsandoz/Projects/jersey/trunk/
jersey/jersey-server/target/generated-sources/xjc


Paul.

On Jan 14, 2010, at 4:08 PM, cmoulliard wrote:


>
> When I try to build the jersey-server project, I get this error :
>
> D:\Dvlpt\Java\workspace\sun-jersey\jersey-source\jersey\jersey-
> server>mvn
> -version
> Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.6.0_16
> Java home: D:\Soft\Sun\jdk1.6.0_16\jre
> Default locale: fr_BE, platform encoding: Cp1252
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>
> D:\Dvlpt\Java\workspace\sun-jersey\jersey-source\jersey\jersey-
> server>mvn
> eclipse:eclipse -s "C:\Documents and Settings\Charlesm.STREAMLINED
> \.m2\setti
> ngs_local.xml" -Dtest=false -DfailIfNoTests=false
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building jersey-server
> [INFO] task-segment: [eclipse:eclipse]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Preparing eclipse:eclipse
> [INFO] [buildnumber:create {execution: default}]
> [INFO] Storing buildNumber: 01/14/2010 04:01 PM at timestamp:
> 1263481302886
> [INFO] [jaxb:generate {execution: default}]
> [INFO]
> D:\Dvlpt\Java\workspace\sun-jersey\jersey-source\jersey\jersey-server
> \target\generated-sources\xjc\com\sun\research\ws\wadl
> is not found and th
> us excluded from the dependency check
> [INFO] Compiling
> file:/D:/Dvlpt/Java/workspace/sun-jersey/jersey-source/jersey/jersey-
> server/etc/wadl.xsd
> and others
> [ERROR] [ERROR] 'lang' is already defined
> [ERROR] line 93 of
> file:/D:/Dvlpt/Java/workspace/sun-jersey/jersey-source/jersey/jersey-
> server/etc/xml.xsd
> [ERROR]
> [ERROR] [ERROR] (related to above error) the first definition
> appears here
> [ERROR] line 88 of
> file:D:/Dvlpt/Java/workspace/sun-jersey/jersey-source/jersey/jersey-
> server/etc/xml.xsd
> [ERROR]
> [ERROR] [ERROR] 'space' is already defined
> [ERROR] line 102 of
> file:/D:/Dvlpt/Java/workspace/sun-jersey/jersey-source/jersey/jersey-
> server/etc/xml.xsd
> [ERROR]
> [ERROR] [ERROR] (related to above error) the first definition
> appears here
> [ERROR] line 95 of
> file:D:/Dvlpt/Java/workspace/sun-jersey/jersey-source/jersey/jersey-
> server/etc/xml.xsd
> [ERROR]
> [ERROR] [ERROR] 'base' is already defined
> [ERROR] line 109 of
> file:/D:/Dvlpt/Java/workspace/sun-jersey/jersey-source/jersey/jersey-
> server/etc/xml.xsd
> [ERROR]
> [ERROR] [ERROR] (related to above error) the first definition
> appears here
> [ERROR] line 104 of
> file:D:/Dvlpt/Java/workspace/sun-jersey/jersey-source/jersey/jersey-
> server/etc/xml.xsd
> [ERROR]
> [ERROR] [ERROR] 'specialAttrs' is already defined
> [ERROR] line 117 of
> file:/D:/Dvlpt/Java/workspace/sun-jersey/jersey-source/jersey/jersey-
> server/etc/xml.xsd
> [ERROR]
> [ERROR] [ERROR] (related to above error) the first definition
> appears here
> [ERROR] line 111 of
> file:D:/Dvlpt/Java/workspace/sun-jersey/jersey-source/jersey/jersey-
> server/etc/xml.xsd
> [ERROR]
> [INFO] failure in the XJC task. Use the Ant -verbose switch for more
> details
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] unable to parse the schema. Error messages should have been
> provided
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> unable to parse the schema. Error messages should have been provided
> at com.sun.tools.xjc.XJC2Task._doXJC(XJC2Task.java:490)
> at com.sun.tools.xjc.XJC2Task.doXJC(XJC2Task.java:434)
> at com.sun.tools.xjc.XJC2Task.execute(XJC2Task.java:369)
>
> Regards,
>
> Charles
> --
> View this message in context:
http://n2.nabble.com/Maven-building-error-of-jersey-server-tp4393127p4393127
.html
<http://n2.nabble.com/Maven-building-error-of-jersey-server-tp4393127p439312
7.html>
> Sent from the Jersey mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4393224&i=0>
> For additional commands, e-mail: [hidden email]
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4393224&i=1>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4393224&i=2>
For additional commands, e-mail: [hidden email]
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4393224&i=3>




  _____

View message @
http://n2.nabble.com/Maven-building-error-of-jersey-server-tp4393127p4393224
.html
<http://n2.nabble.com/Maven-building-error-of-jersey-server-tp4393127p439322
4.html>
To unsubscribe from Maven building error of jersey-server, click
< (link removed)
jdGlzLmNvbXw0MzkzMTI3fDYyNTk3NTMzMQ==> here.

 


**********************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager.
This footnote also confirms that this email message has been swept for the presence of computer viruses.
XPECTIS - Streamlined Solutions & Services S.A.
**********************************************************************


-- 
View this message in context: http://n2.nabble.com/Maven-building-error-of-jersey-server-tp4393127p4393368.html
Sent from the Jersey mailing list archive at Nabble.com.