Comments (2)
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.
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.
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)
- parse fails if Umlaut in pagename HOT 1
- add support for semantic mediawiki api
- Javadoc link leads to 404 HOT 1
- Links on github HOT 1
- SMW API Version 2
- Login with OAuth HOT 2
- Upgrade support and test to MW 1.33 and MW 1.31 LTS
- createAccount not working anymore for MW 1.27 up
- getVersion fails for MW 1.33
- Do not throw exception on The upload is an exact duplicate of the current version of
- Enable commandline interface with page transfer option HOT 1
- Spaces in pageTitles for CommandLine HOT 1
- isVersion128 check for MediaWiki 1.35
- CommandLine copy should not create empty pages but issue a warning
- Server Errror codes are not handled properly
- Update of use Wiki from https://github.com/MER-C/wiki-java HOT 3
- Fetching a token via "action=login" is deprecated. HOT 2
- use docker images for testing
- be lenient when comparing versions
- Catch java.net.ConnectException
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mediawiki-japi.