Diff Result In Intellij & Maven Recently, we came across some mystrious bugs when using JAXB: We tested our code using Intellij idea by running junit test, in which all tests passed. So we push my code to remote repos and where some build and regression test will run again. Soon, we found that the tests on remote failed. we re-tested many times in Intellij but code still works. Later, we realize that the remote testing using maven. So we test it locally, using maven. It failed also. Analysis My first response is the bug of either Intellij or maven, so we try to search on google, but found nothing. Soon, we find that I can get more detailed message from following command: mvn -X test Running it give us more configuration information that maven use. Comparing it with the setting in Intellij, we found that the main difference lay in: maven use Java8, whereas Intellij using Java7 So we change Intellij to use Java8 and the error also be triggered. Debugging using ...
Learn programming, still on the way