Help!! Error "AssociationType1 cannot be resolved to a type"

72 views
Skip to first unread message

kong ye

unread,
Sep 13, 2017, 9:31:55 PM9/13/17
to dcm4che
When i import the dcm4chee 5.10.5 into Eclipse, after downloand maven libs, still have many these kind of java problem, and i dont know which jar should add, i find them in the .xsd file, what should I do?
java problem like this:
and find them in \dcm4chee-arc-light-5.10.5\dcm4chee-arc-xdsi\src\main\resources\schema\ebRS\rim.xsd
<complexType name="AssociationType1">
<annotation>
<documentation xml:lang="en">
Association is the mapping of the same named interface in ebRIM.
It extends RegistryObject.
An Association specifies references to two previously submitted
registry entrys.
The sourceObject is id of the sourceObject in association
The targetObject is id of the targetObject in association
</documentation>
</annotation>
<complexContent>
<extension base="tns:RegistryObjectType">
<attribute name="associationType" type="tns:referenceURI"
use="required" />
<attribute name="sourceObject" type="tns:referenceURI"
use="required" />
<attribute name="targetObject" type="tns:referenceURI"
use="required" />
</extension>
</complexContent>
</complexType>

gunterze

unread,
Sep 15, 2017, 2:49:53 AM9/15/17
to dcm4che
Building the project by

$ mvn install

will generate the missing classes by JAX-WS.

kong ye

unread,
Sep 17, 2017, 11:54:14 PM9/17/17
to dcm4che
thanks a lot, after mvn install , i found them in \target\generated-sources\wsconsume, and i add source in build path, problems solve.

在 2017年9月15日星期五 UTC+8下午2:49:53,gunterze写道:
Reply all
Reply to author
Forward
0 new messages