In the native Windows 7, JDK1.6.
Test server Linux 6.1 JDK1.6.
I am the machine using JAXB can parse the XML attribute values, but released to the test server, XML in objectKey value for less than, class is as follows:
The @xmlaccessortype (XmlAccessType FIELD)
The @xmltype (name=", "propOrder={
"Value",
"ObjectKey
"})
Public class KeywordPreferencess {
The @xmlelement (name="Value")
Private String value.
@ XmlAttribute (name="ObjectKey")
Private String ObjectKey;
Public String getValue () {
The return value.
}
Public void setValue (String value) {
This value=https://bbs.csdn.net/topics/value;
}
Public String getObjectKey () {
Return ObjectKey;
}
Public void setObjectKey (String objectKey) {
ObjectKey=ObjectKey;
}
}
Objectkey attribute, the machine can get in the test server for less than the value, value is null.
Somebody in this question? How to solve?
CodePudding user response:
Want to consider the problem of path to the file?CodePudding user response:
Is there may be a JDK specific version number is different, have appeared jdk1.8 _091 and jdk1.8 _131, same code version of high resolution not to come out