Can neither run nor submit my solution

Moderatoren: pmueller, SE - Design and Construction

29917180
Erstie
Erstie
Beiträge: 12
Registriert: 17. Mai 2013 21:21

Can neither run nor submit my solution

Beitrag von 29917180 »

When I'm in the console and I cd into the folder ex00 I always get an error when I type either sbt run or sbt "submit <ID> <Token>". I can enter the interactive mode, however, but if I type run or submit I also always get errors.

For run:
[error] java.lang.RuntimeException: No main class detect
etc.

I tried to define a main class import the project into eclipse but it never runs or compiles. However, if I use the same code on a fresh eclipse project everything works fine

For submit:
[error] Expected ID character
[error] not a valid command: submit (similar: set)
etc.

Any idea how to solve this, so that I can submit my solution? I just followed the instructions in the exercise sheet and I'm getting these errors on a fresh project. Thanks in advance for the help.

29917180
Erstie
Erstie
Beiträge: 12
Registriert: 17. Mai 2013 21:21

Re: Can neither run nor submit my solution

Beitrag von 29917180 »

I have found the solution. The problem was, that the javapath was not set correctly after installation, so my system could not find certain files. Adding the path C:\Program Files\Java\jdk1.8.0_172\bin to the path variable solved the problem.

Antworten

Zurück zu „Software Engineering - Design and Construction“