RE: [mevenide-user] maven-jaxb2-plugin problems

"Mohni, Daniel" <[email protected]>
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Message-ID <B91E33CF995E4F46811E25CD877F384C02A3A598@GBMK-EXCH3.eu.uis.unisys.com>
realy looks to be related, I think this is a big issue in embedded
environment when going
to ws development or other fancy stuff...
 
does this meen that the plugin is putting stuff in the classpath or is
this netbeans related ?
 
Regards
 
Daniel


________________________________

	From: Milos Kleint [mailto:[email protected]] 
	Sent: Tuesday, November 20, 2007 12:58 PM
	To: [email protected]
	Subject: Re: [mevenide-user] maven-jaxb2-plugin problems
	
	
	possibly related to this issue:
	
	http://www.netbeans.org/issues/show_bug.cgi?id=118480
	
	that one is about jaxws but generally the same sick approach of
putting stuff into bootclasspath. Not sure it will ever work in embedded
environment. 
	The maven plugin should somehow be able to deal with it IMHO.
Maybe by forking to a jvm one specifies, not idea..
	
	Regards
	
	Milos
	
	
	
	On Nov 20, 2007 11:11 AM, Mohni, Daniel <
[email protected]> wrote:
	

		Hi all,
		
		I currently try to get the jaxb2 sample maven project to
work inside
		netbeans 6.0rc1
		
		downloaded the sample project from:
		
	
https://maven-jaxb2-plugin.dev.java.net/repository/org/jvnet/jaxb2/maven
	
2/maven-jaxb2-plugin-sample/1.0/maven-jaxb2-plugin-sample-1.0-src.zip
<https://maven-jaxb2-plugin.dev.java.net/repository/org/jvnet/jaxb2/mave
n2/maven-jaxb2-plugin-sample/1.0/maven-jaxb2-plugin-sample-1.0-src.zip> 
		
		tryed to build project inside ide, I get the following
error:
		
	
------------------------------------------------------------------------
		[ERROR]FATAL ERROR
	
------------------------------------------------------------------------
		JAXB 2.0 API is being loaded from the bootstrap
classloader, but this RI 
		(from
	
jar:file:/D:/maven/nbrepo/com/sun/xml/bind/jaxb-impl/2.1.3/jaxb-impl-2.1
	
.3.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1
		API. Use the endorsed directory mechanism to place
jaxb-api.jar 
		in the bootstrap classloader. (See
		http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
	
------------------------------------------------------------------------

		Trace
		java.lang.LinkageError: JAXB 2.0 API is being loaded
from the bootstrap
		classloader, but this RI (from
	
jar:file:/D:/maven/nbrepo/com/sun/xml/bind/jaxb-impl/2.1.3/jaxb-impl-2.1
	
.3.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1
		API. Use the endorsed directory mechanism to place
jaxb-api.jar in
		the bootstrap classloader. (See
		http://java.sun.com/j2se/1.5.0/docs/guide/standards/ )
		       at
	
com.sun.xml.bind.v2.model.impl.ModelBuilder.<clinit>(ModelBuilder.java:1
		36)
		       at
	
com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextIm
		pl.java:406)
		       at 
		com.sun.xml.bin
		


	<snip>
	
	 
	


		if I call mvn clean install on the commandline this will
work, any hints 
		about this ?
		
		is this a problem related with netbeans or the actual
maven-embedder
		

	 version ?
	
	
	


		Regards
		
		Daniel
		
		
		PS: I was also missing the jaxb binding wizard in the
new class dialog
		under xml....
		
		
		
		
		
	
---------------------------------------------------------------------
		To unsubscribe from this list please visit:
		
		   http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.