안녕하세요 저는 JibX를 처음 사용하고 있으며 샘플로 시작했습니다.jibX 바인딩에서 클래스를로드 할 수 없습니다.
C : \ Users \ Uvais \ JavaProject \ src \ com \ jibX> java -jar C : \ Drive \ jibx_1_2_6 \ jibx \ lib \ jibx- bind.jar binding.xml 오류 : 클래스 com.jibX.Person을로드 할 수 없습니다. 구조의 요소 (binding.xml에서 L 오프라인 3 COL 50)에 바인딩 컴파일러에게 org.jibx.runtime.JiBXException 실행 오류 : 바인딩 binding.xml 때문에 유효 ATION 오류 org.jibx 에서의 사용 불가능하다. binding.Utility.loadBinding (Utility.java:358) at org.jibx.binding.Utility.loadFileBinding (Utility.java:420) at org.jibx.binding.Compile.compile (Compile.java:217) at org.jibx.binding.Compile.main (Compile.java:384는) 다음
내 binding.xml입니다<binding>
<mapping name="customer" class="Customer" ordered="false">
<structure name="person" field="person" >
<value name="cust-num" field="customerNumber" usage="optional"/>
</structure>
<value name="street" field="street" />
</mapping>
,
하지만 binding.xml에 구조 태그를 언급하는 경우 이클립스 또한 명령 프롬프트에서 동일하게 컴파일 할 수 메신저. 친절하게도 도움이됩니다. 하나는 초보자를위한 JiBX는에 좋은 튜토리얼,
jibx에서 jibx로 변경하는 경우에도 동일한 문제가 있습니다. –
http://stackoverflow.com/questions/10467779/binding-in-jibx –