Closed enewe101 closed 10 years ago
Are you using Java version 6? Try upgrading to either 7 or 8 and it should fix the problem.
Hmm.. I have 7. And it seems strange that this would start now... I'll try switching to 8. On Mar 20, 2014 7:50 PM, "Gabriel Forgues" notifications@github.com wrote:
Are you using Java version 6? Try upgrading to either 7 or 8 and it should fix the problem.
Reply to this email directly or view it on GitHubhttps://github.com/prmr/Creco/issues/59#issuecomment-38234668 .
I posted an Issue about this yesterday. I had trouble running the main branch. Rolling back did allow me to run it. I haven't had a chance to look at it until now but if I find a solution on my end I will let you know.
The project is built with JDK 1.7. Bad things can happen if you try to run the jar with a Java version < 7. When you run the SpringBoot app, look at the title bar in the console window. You should see some evidence that the java executable you are running is version 7 or later. If that's not the case, it might be the cause of your issue. In which case you need to change your path to make sure the default Java points to a version 7 JDK.
Actually I just saw that your issue is when you run the test. Make sure your JUnit run configuration also points to a JRE7 (it should by default, but who knows). Run | Run Configurations ... select "Creco" under JUnit and click on the JRE tab. It should be 7 there. Anyways, I'm not having any problems so I'm suspecting a local config issue.
I fixed my problem by changing the run configuration to use JRE7. Thanks
Ok great, I'm up and running -- thanks for the help guys!
If anyone else runs into this problem, here are some tips that might help:
I'll make the integration branch ASAP. Will post back soon...
On Thu, Mar 20, 2014 at 8:53 PM, asutcl notifications@github.com wrote:
I fixed my problem by changing the run configuration to use JRE7. Thanks
Reply to this email directly or view it on GitHubhttps://github.com/prmr/Creco/issues/59#issuecomment-38238199 .
I'm copying some of this info over to a guide on the Wiki in case someone else winds up with the same problem
When I run tests in master, I get the above error. I've tried temporarily rolling back to earlier commits, but to no avail. I also tried re-cloning, but this had no effect. Unfortunately, I had not pushed my commits, and I lost a significant amount of work...
I recall seeing a few people who encountered an error that sounded like this. Since this seems to be recurring, could anyone who has insight please post?
Sorry for the delay in creating an integration branch -- until I can git a runnable project my hands are tied.