Replies: 1 comment
-
It seems it is caused by JAVA_HOME set to java 11 instead of java 8 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I did a fresh clone, configured and build and get:
compile-core-classes:
[javac] Compiling 129 source files to /home/litwan/src/yanel_2022/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 8
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentsV1.java:6: error: package javax.xml.bind.annotation does not exist
[javac] import javax.xml.bind.annotation.XmlAccessType;
[javac] ^
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentsV1.java:7: error: package javax.xml.bind.annotation does not exist
[javac] import javax.xml.bind.annotation.XmlAccessorType;
[javac] ^
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentsV1.java:8: error: package javax.xml.bind.annotation does not exist
[javac] import javax.xml.bind.annotation.XmlElement;
[javac] ^
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentsV1.java:9: error: package javax.xml.bind.annotation does not exist
[javac] import javax.xml.bind.annotation.XmlElementWrapper;
[javac] ^
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentsV1.java:10: error: package javax.xml.bind.annotation does not exist
[javac] import javax.xml.bind.annotation.XmlRootElement;
[javac] ^
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentsV1.java:14: error: cannot find symbol
[javac] @XmlAccessorType(XmlAccessType.FIELD)
[javac] ^
[javac] symbol: class XmlAccessorType
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentsV1.java:15: error: cannot find symbol
[javac] @XmlRootElement(name="root", namespace=YanelNamespaces.YANEL_NS)
[javac] ^
[javac] symbol: class XmlRootElement
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentV1.java:5: error: package javax.xml.bind.annotation does not exist
[javac] import javax.xml.bind.annotation.XmlAccessType;
[javac] ^
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentV1.java:6: error: package javax.xml.bind.annotation does not exist
[javac] import javax.xml.bind.annotation.XmlAccessorType;
[javac] ^
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentV1.java:7: error: package javax.xml.bind.annotation does not exist
[javac] import javax.xml.bind.annotation.XmlElement;
[javac] ^
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentV1.java:11: error: cannot find symbol
[javac] @XmlAccessorType(XmlAccessType.FIELD)
[javac] ^
[javac] symbol: class XmlAccessorType
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentStatusV1.java:3: error: package javax.xml.bind.annotation does not exist
[javac] import javax.xml.bind.annotation.XmlEnum;
[javac] ^
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentStatusV1.java:4: error: package javax.xml.bind.annotation does not exist
[javac] import javax.xml.bind.annotation.XmlEnumValue;
[javac] ^
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentStatusV1.java:6: error: cannot find symbol
[javac] @XmlEnum
[javac] ^
[javac] symbol: class XmlEnum
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentsV1.java:14: error: cannot find symbol
[javac] @XmlAccessorType(XmlAccessType.FIELD)
[javac] ^
[javac] symbol: variable XmlAccessType
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentV1.java:11: error: cannot find symbol
[javac] @XmlAccessorType(XmlAccessType.FIELD)
[javac] ^
[javac] symbol: variable XmlAccessType
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentV1.java:14: error: cannot find symbol
[javac] @xmlelement(name="id", namespace=YanelNamespaces.YANEL_NS)
[javac] ^
[javac] symbol: class XmlElement
[javac] location: class CommentV1
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentV1.java:17: error: cannot find symbol
[javac] @xmlelement(name="text", namespace=YanelNamespaces.YANEL_NS)
[javac] ^
[javac] symbol: class XmlElement
[javac] location: class CommentV1
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentV1.java:20: error: cannot find symbol
[javac] @xmlelement(name="title", namespace=YanelNamespaces.YANEL_NS)
[javac] ^
[javac] symbol: class XmlElement
[javac] location: class CommentV1
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentV1.java:23: error: cannot find symbol
[javac] @xmlelement(name="authorName", namespace=YanelNamespaces.YANEL_NS)
[javac] ^
[javac] symbol: class XmlElement
[javac] location: class CommentV1
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentV1.java:26: error: cannot find symbol
[javac] @xmlelement(name="authorMail", namespace=YanelNamespaces.YANEL_NS)
[javac] ^
[javac] symbol: class XmlElement
[javac] location: class CommentV1
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentV1.java:29: error: cannot find symbol
[javac] @xmlelement(name="created", namespace=YanelNamespaces.YANEL_NS)
[javac] ^
[javac] symbol: class XmlElement
[javac] location: class CommentV1
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentV1.java:32: error: cannot find symbol
[javac] @xmlelement(name="modified", namespace=YanelNamespaces.YANEL_NS)
[javac] ^
[javac] symbol: class XmlElement
[javac] location: class CommentV1
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentV1.java:35: error: cannot find symbol
[javac] @xmlelement(name="status", namespace=YanelNamespaces.YANEL_NS)
[javac] ^
[javac] symbol: class XmlElement
[javac] location: class CommentV1
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentStatusV1.java:9: error: cannot find symbol
[javac] @XmlEnumValue("DRAFT")
[javac] ^
[javac] symbol: class XmlEnumValue
[javac] location: class CommentStatusV1
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentStatusV1.java:12: error: cannot find symbol
[javac] @XmlEnumValue("PUBLIC")
[javac] ^
[javac] symbol: class XmlEnumValue
[javac] location: class CommentStatusV1
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentStatusV1.java:15: error: cannot find symbol
[javac] @XmlEnumValue("INVISIBLE")
[javac] ^
[javac] symbol: class XmlEnumValue
[javac] location: class CommentStatusV1
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentsV1.java:18: error: cannot find symbol
[javac] @xmlelement(name="referencedPath", namespace=YanelNamespaces.YANEL_NS)
[javac] ^
[javac] symbol: class XmlElement
[javac] location: class CommentsV1
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentsV1.java:21: error: cannot find symbol
[javac] @XmlElementWrapper(name="comments", namespace=YanelNamespaces.YANEL_NS)
[javac] ^
[javac] symbol: class XmlElementWrapper
[javac] location: class CommentsV1
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/CommentsV1.java:22: error: cannot find symbol
[javac] @xmlelement(name="comment", namespace=YanelNamespaces.YANEL_NS)
[javac] ^
[javac] symbol: class XmlElement
[javac] location: class CommentsV1
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/package-info.java:1: error: package javax.xml.bind.annotation does not exist
[javac] @javax.xml.bind.annotation.XmlSchema(
[javac] ^
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/package-info.java:3: error: package javax.xml.bind.annotation does not exist
[javac] xmlns = { @javax.xml.bind.annotation.XmlNs(prefix = org.wyona.yanel.core.YanelNamespaces.YANEL_NS_PREFIX,
[javac] ^
[javac] /home/litwan/src/yanel_2022/src/core/java/org/wyona/yanel/core/attributes/commentable/package-info.java:5: error: package javax.xml.bind.annotation does not exist
[javac] elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 33 errors
[javac] 1 warning
BUILD FAILED
any hlep is highly appriciated.
cheers
simon
Beta Was this translation helpful? Give feedback.
All reactions