vanlummelhuizen / ASL-ELAN

2 stars 0 forks source link

Make 'mvn clean' no longer necessary when compiling for java 1.6 [low priority] #16

Open vanlummelhuizen opened 8 years ago

vanlummelhuizen commented 8 years ago

When compiling for java 1.6, I need to run 'mvn clean' before 'mvn package' otherwise the following message comes up and ELAN won't start:

'java.lang.UnsupportedClassVersionError: mpi/eudico/client/annotator/spellcheck/HunspellChecker : Unsupported major.minor version 51.0'

51.0 refers to Java 1.7 and things meant for 1.7 won't run on 1.6. That makes sense. However, it is not clear what those thing are and why there is no problem if I do a 'mvn clean' first.

I will try to fix this, when I have time (which is probably never, anyway).