以前有人用过JiBX吗?JiBX website
当它试图绑定时,当我尝试运行时,我一直收到这个错误:
org.jibx.runtime.JiBXException:无法访问类的绑定信息....
我正在使用Netbeans,它不起作用,但我的同事使用Eclipse时,它可以起作用
发布于 2012-02-26 23:02:47
确保绑定定义已编译到您的类文件中。
看看JiBX-FAQs和JiBX binding compiler (Building with other IDEs)文档。
发布于 2012-07-02 17:03:28
在maven中,只需按如下方式配置插件
<plugin>
<groupId>org.jibx</groupId>
<artifactId>jibx-maven-plugin</artifactId>
<version>${jibx.maven.version}</version>
<configuration>
<schemaBindingDirectory>src/main/java/com/lute/serviceAccessor/farelogix/domain</schemaBindingDirectory>
<includeSchemaBindings>
<includeSchemaBindings>*-Binding.xml</includeSchemaBindings>
</includeSchemaBindings>
<verbose>true</verbose>
</configuration>
<executions>
<execution>
<goals>
<goal>bind</goal>
</goals>
</execution>
</executions>
</plugin>那就行了!!
https://stackoverflow.com/questions/9432920
复制相似问题