Arquillian + Glassfish嵌入式

时间:2014-04-29 07:43:40

标签: ejb bean-validation jboss-arquillian glassfish-embedded

我试图用arquillian和嵌入式ejb服务器(glassfish 3.1.2.2)为我的jee应用程序编写集成测试。我的应用程序使用jsr 303 bean验证。当我尝试执行测试时,我会收到:

Caused by: org.glassfish.embeddable.GlassFishException: PlainTextActionReporterFAILUREorg.jvnet.hk2.config.TransactionFailure: HV000100: Unable to parse META-INF/validation.xml.Could not change the attributes: HV000100: Unable to parse META-INF/validation.xml.
    at com.sun.enterprise.glassfish.bootstrap.ConfiguratorImpl.configure(ConfiguratorImpl.java:71)
    at com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.configure(GlassFishImpl.java:71)
    at com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.(GlassFishImpl.java:65)

我在https://java.net/jira/browse/GLASSFISH-17381上发现了同样的问题。是否有人面对并解决了这个问题?

由于

0 个答案:

没有答案