apigee / wsdl2apigee

Generates Apigee Proxy bundles from WSDL
Apache License 2.0
23 stars 25 forks source link

Issue while doing mvn install #25

Open shamanthv6289 opened 4 years ago

shamanthv6289 commented 4 years ago

Hi, I downloaded the tool and tried to do mvn install, i get the below error. Please help.

[ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[3,33] package javax.xml.bind.annotation does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[4,33] package javax.xml.bind.annotation does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[5,33] package javax.xml.bind.annotation does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[6,33] package javax.xml.bind.annotation does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[7,33] package javax.xml.bind.annotation does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[10,2] cannot find symbol symbol: class XmlRootElement [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[11,2] cannot find symbol symbol: class XmlAccessorType [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[4,22] package javax.xml.bind does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[5,22] package javax.xml.bind does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[6,22] package javax.xml.bind does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[7,22] package javax.xml.bind does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[8,22] package javax.xml.bind does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[12,33] package javax.xml.bind.annotation does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[13,33] package javax.xml.bind.annotation does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[14,33] package javax.xml.bind.annotation does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[15,33] package javax.xml.bind.annotation does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[24,2] cannot find symbol symbol: class XmlRootElement [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[25,2] cannot find symbol symbol: class XmlAccessorType [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[87,31] cannot find symbol symbol: class JAXBException location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[11,18] cannot find symbol symbol: variable XmlAccessType [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[14,6] cannot find symbol symbol: class XmlTransient location: class com.apigee.xsltgen.Rule [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[17,6] cannot find symbol symbol: class XmlAttribute location: class com.apigee.xsltgen.Rule [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[20,6] cannot find symbol symbol: class XmlAttribute location: class com.apigee.xsltgen.Rule [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[23,6] cannot find symbol symbol: class XmlAttribute location: class com.apigee.xsltgen.Rule [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[26,6] cannot find symbol symbol: class XmlAttribute location: class com.apigee.xsltgen.Rule [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[25,18] cannot find symbol symbol: variable XmlAccessType [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[30,6] cannot find symbol symbol: class XmlElement location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[78,9] cannot find symbol symbol: class JAXBContext location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[78,35] cannot find symbol symbol: variable JAXBContext location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[79,9] cannot find symbol symbol: class Unmarshaller location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[82,9] cannot find symbol symbol: class JAXBElement location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[82,36] cannot find symbol symbol: class JAXBElement location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[90,9] cannot find symbol symbol: class JAXBContext location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[90,29] cannot find symbol symbol: variable JAXBContext location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[91,9] cannot find symbol symbol: class Marshaller location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[94,27] cannot find symbol symbol: variable Marshaller location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[96,27] cannot find symbol symbol: variable Marshaller location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[97,9] cannot find symbol symbol: class JAXBElement location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[97,39] cannot find symbol symbol: class JAXBElement location: class com.apigee.xsltgen.RuleSet [INFO] 39 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 33.983 s [INFO] Finished at: 2019-12-11T00:13:55-07:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project wsdl2apigee: Compilation failure: Compilation failure: [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[3,33] package javax.xml.bind.annotation does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[4,33] package javax.xml.bind.annotation does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[5,33] package javax.xml.bind.annotation does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[6,33] package javax.xml.bind.annotation does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[7,33] package javax.xml.bind.annotation does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[10,2] cannot find symbol [ERROR] symbol: class XmlRootElement [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[11,2] cannot find symbol [ERROR] symbol: class XmlAccessorType [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[4,22] package javax.xml.bind does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[5,22] package javax.xml.bind does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[6,22] package javax.xml.bind does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[7,22] package javax.xml.bind does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[8,22] package javax.xml.bind does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[12,33] package javax.xml.bind.annotation does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[13,33] package javax.xml.bind.annotation does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[14,33] package javax.xml.bind.annotation does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[15,33] package javax.xml.bind.annotation does not exist [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[24,2] cannot find symbol [ERROR] symbol: class XmlRootElement [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[25,2] cannot find symbol [ERROR] symbol: class XmlAccessorType [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[87,31] cannot find symbol [ERROR] symbol: class JAXBException [ERROR] location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[11,18] cannot find symbol [ERROR] symbol: variable XmlAccessType [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[14,6] cannot find symbol [ERROR] symbol: class XmlTransient [ERROR] location: class com.apigee.xsltgen.Rule [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[17,6] cannot find symbol [ERROR] symbol: class XmlAttribute [ERROR] location: class com.apigee.xsltgen.Rule [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[20,6] cannot find symbol [ERROR] symbol: class XmlAttribute [ERROR] location: class com.apigee.xsltgen.Rule [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[23,6] cannot find symbol [ERROR] symbol: class XmlAttribute [ERROR] location: class com.apigee.xsltgen.Rule [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/Rule.java:[26,6] cannot find symbol [ERROR] symbol: class XmlAttribute [ERROR] location: class com.apigee.xsltgen.Rule [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[25,18] cannot find symbol [ERROR] symbol: variable XmlAccessType [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[30,6] cannot find symbol [ERROR] symbol: class XmlElement [ERROR] location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[78,9] cannot find symbol [ERROR] symbol: class JAXBContext [ERROR] location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[78,35] cannot find symbol [ERROR] symbol: variable JAXBContext [ERROR] location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[79,9] cannot find symbol [ERROR] symbol: class Unmarshaller [ERROR] location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[82,9] cannot find symbol [ERROR] symbol: class JAXBElement [ERROR] location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[82,36] cannot find symbol [ERROR] symbol: class JAXBElement [ERROR] location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[90,9] cannot find symbol [ERROR] symbol: class JAXBContext [ERROR] location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[90,29] cannot find symbol [ERROR] symbol: variable JAXBContext [ERROR] location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[91,9] cannot find symbol [ERROR] symbol: class Marshaller [ERROR] location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[94,27] cannot find symbol [ERROR] symbol: variable Marshaller [ERROR] location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[96,27] cannot find symbol [ERROR] symbol: variable Marshaller [ERROR] location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[97,9] cannot find symbol [ERROR] symbol: class JAXBElement [ERROR] location: class com.apigee.xsltgen.RuleSet [ERROR] /Users/shamanthvijayakumar/Desktop/Work/wsdl2apigee-master/src/main/java/com/apigee/xsltgen/RuleSet.java:[97,39] cannot find symbol [ERROR] symbol: class JAXBElement [ERROR] location: class com.apigee.xsltgen.RuleSet [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

patrick-zinner commented 4 years ago

I had the same issue and found the solution: You have to install it using Java 8. I assume that you ware using Java 11.