Giter Club home page Giter Club logo

Comments (2)

WolfgangFahl avatar WolfgangFahl commented on August 18, 2024

Thank you for the issue report.

I have added your testCase as TestIssue23 and it runs o.k. in the development environment. Please check again with 0.12 and that testcase on its own.

Building Mediawiki-Japi with tests fails as well, but with different errors.
At this point the tests run against some Mediawikis that you'd need credentials for. Please contact me by e-mail if you want go get access.

For the Exception itself: There may be something wrong in the classpath setup.

See http://stackoverflow.com/questions/20962053/exception-in-thread-main-javax-xml-bind-propertyexception-name-eclipselink-m

If you try mvn dependency:tree you should see the proper EclipseLink jar to be used.

[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building BITPlan-Mediawiki-Japi 0.0.12
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ mediawiki-japi ---
[INFO] com.bitplan:mediawiki-japi:jar:0.0.12
[INFO] +- com.google.inject:guice:jar:3.0:compile
[INFO] |  +- javax.inject:javax.inject:jar:1:compile
[INFO] |  \- aopalliance:aopalliance:jar:1.0:compile
[INFO] +- commons-io:commons-io:jar:2.4:compile
[INFO] +- com.sun.jersey:jersey-client:jar:1.18:compile
[INFO] |  \- com.sun.jersey:jersey-core:jar:1.18:compile
[INFO] +- com.sun.jersey.contribs:jersey-apache-client:jar:1.18:compile
[INFO] |  \- commons-httpclient:commons-httpclient:jar:3.1:compile
[INFO] |     +- commons-logging:commons-logging:jar:1.0.4:compile
[INFO] |     \- commons-codec:commons-codec:jar:1.2:compile
[INFO] +- com.sun.jersey.contribs:jersey-multipart:jar:1.18:compile
[INFO] |  \- org.jvnet.mimepull:mimepull:jar:1.9.3:compile
[INFO] +- org.eclipse.persistence:org.eclipse.persistence.moxy:jar:2.6.0-M3:compile
[INFO] |  +- org.eclipse.persistence:org.eclipse.persistence.core:jar:2.6.0-M3:compile
[INFO] |  |  \- org.eclipse.persistence:org.eclipse.persistence.asm:jar:2.6.0-M3:compile
[INFO] |  \- org.eclipse.persistence:org.eclipse.persistence.antlr:jar:2.6.0-M3:compile
[INFO] +- javax.validation:validation-api:jar:1.1.0.Final:compile
[INFO] +- com.sun.jersey.contribs:jersey-moxy:jar:1.18:provided
[INFO] +- junit:junit:jar:4.11:test
[INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] +- args4j:args4j:jar:2.0.29:compile
[INFO] \- org.mockito:mockito-core:jar:1.10.16:test
[INFO]    \- org.objenesis:objenesis:jar:2.1:test
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.771 s
[INFO] Finished at: 2016-01-09T15:34:34+01:00
[INFO] Final Memory: 18M/228M
[INFO] ------------------------------------------------------------------------

from mediawiki-japi.

WolfgangFahl avatar WolfgangFahl commented on August 18, 2024

The jaxb.properties file is not being picked up by the maven environment. I'v put a redundant copy of it in the test folder and add the main/resources and main/test folders to make the command line run of maven happy.

from mediawiki-japi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.