Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] Cannot get MOXy to work

Hi

I'm using Eclipse Helios, JDK1.6 and I'm trying to create Java classes from
a .xsd file using Moxy. I have added
org.eclipse.moxy-2.1.1.v20100817-r8050.jar to my project build path (when I
check the Persistence facet of my project, although EclipseLInk 2.1.1 is
specified, this jar doesn't appear automatically).

I have created the jaxb.properties file in the same directory as my .xsd
file as detailed in the wiki at
wiki.eclipse.org/EclipseLInk/Examples/MOXy/JAXB/SpecifyRuntime.

However when I right click my .xsd file and select Generate -> JAXB Classes,
the dialog complains that it cannot find a JAXB implementation on the
classpath. If I tick the checklbox Use Moxy as JAXB implementation and
continue I get a ClassNotFoundException
org.eclipse.persistence.jaxb.xjc.MOXyXJC. Looking inside
org.eclipse.moxy-2.1.1.v20100817-r8050.jar the xjc package is not present.

Where do I find this class, or have I missed something in the setup

Regards
-- 
View this message in context: http://old.nabble.com/Cannot-get-MOXy-to-work-tp30366693p30366693.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top