Unable to run Proctor Webapp properly.

50 views
Skip to first unread message

Saharsh Singh

unread,
Mar 2, 2020, 3:13:51 PM3/2/20
to indeedeng-proctor-users
I'm trying to run Proctor Webapp, following the instructions in this link : https://github.com/indeedeng/proctor/tree/master/proctor-webapp
on step 3, running the command  

mvn package -pl proctor-webapp -am
gives the following error:

[INFO] Scanning for projects...
[ERROR] [ERROR] Could not find the selected project in the reactor: proctor-webapp @ 
[ERROR] Could not find the selected project in the reactor: proctor-webapp -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:

Can i get a resolution for the above error? 

Also, We tried to workaround this issue, and ran the following:
mvn clean package

to build the target dependencies.

and then tried the 4th step : 
java -Dconfig.dir="$PWD/proctor-webapp/example-apache-config"  -jar proctor-webapp/target/dependency/webapp-runner.jar --context-xml proctor-webapp/example-apache-config/proctor-webapp.xml --expand-war proctor-webapp/target/proctor-webapp-9999-SNAPSHOT.war

and opened localhost:8080

but got the following error in console, due to which test-defintions aren't being created.

Screenshot 2020-03-03 at 1.22.08 AM.png


Screenshot 2020-03-03 at 1.25.10 AM.png


attached the pom.xml file with this issue.

Can we get the solution to this error as well?



pom.xml

Tibo Kruse

unread,
Mar 2, 2020, 11:23:00 PM3/2/20
to indeedeng-proctor-users
Hello,

I believe you are running the maven command from the wrong folder.
As the README says: "In root folder, run `mvn package -pl proctor-webapp -am` to build."
The root folder is proctor, not proctor/proctor-webapp

regards,
  Tibo
Message has been deleted

Saharsh Singh

unread,
Mar 3, 2020, 3:28:31 AM3/3/20
to indeedeng-proctor-users
Thank you for your response, the step 3 is working now, and maven builds successfully.

However the issue with webapp on browser still persists. We are unable to create test definitions.

we are still getting the same console error on loading the webapp page:

Screenshot 2020-03-03 at 1.32.13 PM.png


I have attached the console output for the editor-compiled.js which throws the first error:
UncaughtSyntaxError :Unexpected String


Can we get a resolution for this error as well?
consoleOutput.txt

Tibo Kruse

unread,
Mar 3, 2020, 4:09:40 AM3/3/20
to indeedeng-proctor-users
Give us some time, please, this looks like a small bug. We look into it. Maybe report it on the github repository.
Message has been deleted

Saharsh Singh

unread,
Mar 3, 2020, 7:19:32 AM3/3/20
to indeedeng-proctor-users
As you have suggested, I have raised a similar issue on the proctor github. link : https://github.com/indeedeng/proctor/issues/50
We are using the proctor framework for our own project, and would like to be notified as soon as possible when this is resolved.
Thank you.
Reply all
Reply to author
Forward
0 new messages