user2557294
user2557294

Reputation: 47

Activator ui failing to start

The activator ui isn't starting the play server and it is giving me this error:

iloveyou@iloveyou-X501U ~/activator $ activator ui
Found previous process id: 22306
FOUND REPO = activator-local @ file:/home/iloveyou/activator/repository
Play server process ID is 22694
Oops, cannot start the server.
Configuration error: Configuration error[reference.conf: 13: Could not resolve        substitution to a value: ${spray.version}]
at play.api.Configuration$.play$api$Configuration$$configError(Configuration.scala:94)

I says 'FOUND REPO' but looking in the acitvator directory, I can't see one. I downloaded activator from the play homepage again but it is the same. Any ideas?

Upvotes: 2

Views: 2500

Answers (3)

PRAVAT RANJAN MOHANTA
PRAVAT RANJAN MOHANTA

Reputation: 41

I had the same issue. This is how I solved it. Go to the folder where activator.bat is located. You will find there a file named "RUNNING_PID". Delete that file. Run activator.bat again. This should solve the problem.

Upvotes: 4

Kevin
Kevin

Reputation: 4128

I encountered the same issue.

While not the most elegant solution, I ran the command with super user privilages, as it needed to download missing libraries:

sudo activator ui

I am using Ubuntu 14.04.

Upvotes: 0

Thomson256
Thomson256

Reputation: 217

Activator has running files in user's home directory ~/.activator/1.2.2 and a folder to each version. Try removing them.

Activator, activator.bat and activator-launch-1.2.2.jar what you mentioned are just app files and prob not the source of problem. (My setting is that i have app folder c:\app\activator-1.2.2 in my PATH, projects i create in c:\dev\play).

Upvotes: 1

Related Questions