You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear all,
I'm trying to compile the EUSURVEY-1.5.1but I'm getting different errors
from the command line using the 'mvn clean package' I got the following error:
Failed tests: springTestContextBeforeTestMethod(com.ec.survey.controller.TestSurveyControllerRefactored): Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not open connection
In STS by compiling the project using the run as maven build... and therefore with the text 'package' and skipping the tests I got this:
ERROR[m] Failed to execute goal [32morg.apache.maven.plugins:maven-antrun-plugin:1.7:run[m [1m(preparePackageAntCreateSvnVersionPropertiesForALl)
[m on project [36meusurvey[m: [1;31mAn Ant BuildException has occured: Unable to create javax script engine for javascript[m
[[1;31mERROR[m] [1;31maround Ant part ...... @ 14:21 in C:\EUSURVEY-1.5.1\target\antrun\build-main.xml
My current configuration is:
Windows 10 x64
C:\Users\mauri>echo %JAVA_HOME% ---> C:\Program Files\Java\jdk1.8.0_211
C:\Users\mauri>echo %M2% ---> C:\apache-maven-3.8.8\bin
Server version: 8.0.32 MySQL Community Server - GPL
Apache Tomcat 8.5.84 Server
Spring Tool Suite 4 (Version: 4.18.0.RELEASE)
I'm a newbie in JAVA so if you have some idea on how to solve this issue I thank you in advance.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Dear all,
I'm trying to compile the EUSURVEY-1.5.1but I'm getting different errors
[m on project [36meusurvey[m: [1;31mAn Ant BuildException has occured: Unable to create javax script engine for javascript[m
[[1;31mERROR[m] [1;31maround Ant part ...... @ 14:21 in C:\EUSURVEY-1.5.1\target\antrun\build-main.xml
My current configuration is:
Windows 10 x64
C:\Users\mauri>echo %JAVA_HOME% ---> C:\Program Files\Java\jdk1.8.0_211
C:\Users\mauri>echo %M2% ---> C:\apache-maven-3.8.8\bin
Server version: 8.0.32 MySQL Community Server - GPL
Apache Tomcat 8.5.84 Server
Spring Tool Suite 4 (Version: 4.18.0.RELEASE)
I'm a newbie in JAVA so if you have some idea on how to solve this issue I thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions