#18740: subversion-javahlbindings failing with jUnit/hamcrest ------------------------------+--------------------------------------------- Reporter: shoanm@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: subversion-javahlbindings ------------------------------+--------------------------------------------- I am getting the following error: {{{ DEBUG: cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_junit/work/junit4.5 && javac -d classes -cp /opt/local/share/java/hamcrest-core.jar -sourcepath src src/junit/framework/JUnit4TestAdapter.java src/org/junit/internal/AssumptionViolatedException.java:3: cannot access org.hamcrest.Description bad class file: /opt/local/share/java/hamcrest- core.jar(org/hamcrest/Description.class) class file has wrong version 50.0, should be 49.0 Please remove or make sure it appears in the correct subdirectory of the classpath. import org.hamcrest.Description; ^ 1 error Error: Target org.macports.build returned: shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_junit/work/junit4.5 && javac -d classes -cp /opt/local/share/java/hamcrest-core.jar -sourcepath src src/junit/framework/JUnit4TestAdapter.java" returned error 1 Command output: src/org/junit/internal/AssumptionViolatedException.java:3: cannot access org.hamcrest.Description bad class file: /opt/local/share/java/hamcrest- core.jar(org/hamcrest/Description.class) class file has wrong version 50.0, should be 49.0 Please remove or make sure it appears in the correct subdirectory of the classpath. import org.hamcrest.Description; ^ 1 error Warning: the following items did not execute (for junit): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: The following dependencies failed to build: junit Error: Status 1 encountered during processing. }}} I have also attempted to reinstall hamcrest-core, but it didn't help resolve the problem. I also attempted uninstalling and reinstalling junit. It didn't help. Any advice? Thanks in advance. Peace, Shoan. -- Ticket URL: <http://trac.macports.org/ticket/18740> MacPorts <http://www.macports.org/> Ports system for Mac OS