Error Messages Should Have Been Provided
here for a quick overview of the site Help Center Detailed answers to any questions you
Maven Unable To Parse Input Schema
might have Meta Discuss the workings and policies of this jaxb2-maven-plugin example site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Eclipse Maven Build Issue: Failed to compile input schema(s)! up vote 0 down vote favorite I seem to be having a maven issue with my eclipse. I have eclipse plugin m2e and Egit in my Juno eclipse version and they are up to date. And BTW it does compile fine in eclipse and DOS mvn - but eclipse is still registering the issue. The pom.xml section in question org.jvnet.jaxb2.maven2 maven-jaxb2-plugin 0.8.3 src/main/resources/my-model.cat //This is being highlighted as an error generate-sources generate-sources generate src/main/resources *.xsd true true true ${project.build.directory}/generate-sources/xjc/META-INF/my-model.episode But I'm getting a problem that says: Failed to compile input schema(s)! Error messages should have been provided. (org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.8.3:generate:generate-sources:generate-sources) pom.xml /myProj line 56 Maven Build Problem That's all I'm getting - just a RED annoying problem, highlighted annotations in the explorers and a squiggly line in the pom file. No schema is marked or anything else. I know its not stopping me from working and running maven but why is Eclipse and/or m2e doing this? Thanks, Kevin EDIT: my-model.cat file PUBLIC "urn:com:myCom:myProj:model" "a.xsd" PUBLIC "urn:com:myCom:myProj:operations" "b.xsd" PUBLIC "ur
Plugins WSMonitor License Tool Login | Register | Join | Help | Log out | Join | Help JAXB Download 2.2.11 2.2.10 2.2.7 2.2.6 2.2.5 2.2.4 2.2.3 2.2.2 2.2.1.1 2.2.1 2.1.17 2.1.16 2.1.15 2.1.14 2.1.13 2.1.12 2.1.11 2.1.10 2.1.9 2.1.8 2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1 2.0.5 2.0.4 2.0.3 2.0.2 2.0.1 Learn JAXB User's guide JAXB Tutorial JAXB section in JavaEE5 http://stackoverflow.com/questions/22106164/eclipse-maven-build-issue-failed-to-compile-input-schemas tutorial FAQ JAXB Articles Latest release notes Javadoc RoadMap Contribute Source code TCK Develop XJC plugin Membership Mailing lists IssueTracker × Close Use Advanced Search to search the entire archive. Re: maven-jaxb-plugin and xjc plugins » Back to List Archive Chronological | Threaded « Previous Message Next » « https://java.net/projects/jaxb/lists/users/archive/2007-06/message/64 Previous Thread Next » From: Hunor Bartha To: users@... Subject: Re: maven-jaxb-plugin and xjc plugins Date: Thu, 14 Jun 2007 17:02:27 +0300 Mailing-list: contact users-help@...; run by ezmlm AlekseiValikovwrote: Hi. butunfortunatelyitdidnotwork. I'musingMaven2andJAXB2.Maybeitisrelatedtoxjcversion2.x? Wellmaybeyouhavetousethemaven-jaxb2-pluginthen?:)) Seehttp://maven-jaxb2-plugin.dev.java.net. Here'sanexample: org.jvnet.jaxb2.maven2 maven-jaxb2-plugin generate true *.xsd -Xfoo org.jvnet.jaxb2_commons basic 0.2-SNAPSHOT Come back any time with questions. Me and Kostis, we are authors' supporters. It'snicetoseepeoplewritingJAXB2plugins. Bye. /lexi Hello, I am using the jaxb-maven2-plugin to generate my classes and all works fine with java1.5, but when i try to use java 6 it show the following exception with the -e switch: org.apache.maven.lifecycle.LifecycleExecutionException: Unable to parse input schema(s). Error messages should have bee nprovided. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:47 5) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav a:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultL
> Issues Mailing List Use Advanced Search to search the entire archive. [JIRA] Commented: error messages (MAVEN_JAXB2_PLUGIN-39) Spaces in paths, XSD files not found » Back to List Archive Chronological | Threaded « Previous Message Next » « Previous Thread Next error messages should » From: "szczyp (JIRA)" To: issues@... Subject: [JIRA] Commented: (MAVEN_JAXB2_PLUGIN-39) Spaces in paths, XSD files not found Date: Mon, 23 May 2011 02:11:09 -0700 (PDT) Auto-submitted: auto-generated [ http://java.net/jira/browse/MAVEN_JAXB2_PLUGIN-39?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=309834#action_309834 ] szczypcommentedonMAVEN_JAXB2_PLUGIN-39: ------------------------------------------ Hi.Iamabouttoattachtheprojectthatfails.Itrimmedyoursalittlebit sothatitonlyhasthethingsthatarenecessarytoreproduce:Ideletedall thedependenciesandpluginsastheyarenotneeded.Ialsomadethebinding filesmaller,sothattheonlythingthatitdefinesisthepathtoXSD.The pluginconfigurationprettymuchresembledourown,pluswedouseplugins, butagain,theyarenotnecessarytobuildthesimplestpossibletestcase thatfails. Theattachmentwillcreatea'po'directoryafterextraction-thisisthe projectdirectory,justgoinsideandinvoke'mvn',asImade'cleaninstall' thedefaults(thisrequiresmaven3). Somemoreinfoonmycurrentenvironment: rafal@rafal-desktop:~/Desktop/po$mvn-v ApacheMaven3.0.2(r1056850;2011-01-0901:58:10+0100) Javaversion:1.6.0_25,vendor:SunMicrosystemsInc. Javahome:/usr/lib/jvm/jdk1.6.0_25/jre Defaultlocale:en_US,platformencoding:UTF-8 OSname:"linux",version:"2.6.32-31-generic",arch:"amd64",family:"unix" ThesamebehaviouronWindows7,asmentionedbeforeintheoriginalpost. Theerrorandstacktrace: rafal@rafal-desktop:~/Desktop/po$mvn [INFO]Scanningforprojects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO]Buildingmaven-jaxb2-plugin-sample-jaxbplugins-maven0.7.5 [INFO] ------------------------------------------------------------------------ [INFO] [INFO]---maven-clean-plugin:2.4.1:clean(default-clean)@ maven-jaxb2-plugin-sample-jaxbplugins-maven--- [INFO] [INFO]---maven-jaxb2-plugin:0.7.5:generate(JAXB-generate)@ maven-jaxb2-plugin-sample-jaxbplugins-maven--- [ERROR]Errorwhileparsingschema(s).Location[ file:/home/rafal/Desktop/p%20o/src/main/XJB/binding.xjb{4,90}]. com.sun.istack.SAXParseException2: "file:/home/rafal/Desktop/p%2520o/src/main/resources/XSD/purchaseorder.xsd" isnotapartofthiscompil
CommunityOracle User Group CommunityTopliners CommunityOTN Speaker BureauJava CommunityError: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page. Please enter a title. You can not post a blank message. Please type your message and try again. More discussions in Sun Java Studio Enterprise All PlacesOracle CommunityArchived ForumsSun Java Studio Enterprise This discussion is archived 7 Replies Latest reply on Jan 23, 2007 12:58 AM by 807581 An XJC compilation error - Could not load class (..) for type cvsversion 807581 Jan 16, 2007 11:02 PM I've got a strange compilation error using NetBeans 4.0 (I'd guess the version does not matter here) and Ant 1.6.2. When the following task is executed, I get the error from NetBeans console, ... Class org.xml.sax.SAXException loaded from parent loader (parentFirst) Class java.io.IOException loaded from parent loader (parentFirst) D:\appserver\build.xml:797: unable to parse the schema. Error messages should have been provided at com.sun.tools.xjc.XJCTask._doXJC(XJCTask.java:334) at com.sun.tools.xjc.XJCTask.doXJC(XJCTask.java:283) at com.sun.tools.xjc.XJCTask.execute(XJCTask.java:227) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeTarget(Project.java:1214) at org.apache.tools.ant.Project.executeTargets(Project.java:1062) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:217) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:236) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125) BUILD FAILED (total time: 4 seconds) Could not load class (org.apache.tools.ant.tasksdefs.cvslib.CvsVersion)