Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation problem in EUSurvey 1.5.1 #512

Open
whakaoo opened this issue Mar 29, 2023 · 4 comments
Open

Compilation problem in EUSurvey 1.5.1 #512

whakaoo opened this issue Mar 29, 2023 · 4 comments

Comments

@whakaoo
Copy link

whakaoo commented Mar 29, 2023

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.

@clam2310
Copy link
Contributor

clam2310 commented Jun 2, 2023

The unit tests currently do not work. You could deactivate them using this parameter:
-Dmaven.test.skip=true

@Iddah
Copy link

Iddah commented Jan 25, 2024

@whakaoo Were you able to compile the application? I am getting the following errors when i try to start the application from the Tomcat Web Application Manager:
SEVERE [http-nio-8080-exec-285] org.springframework.web.context.ContextLoader.initWebApplicationContext Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'activityController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'answerService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'answerExplanationService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'participationService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'surveyService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'exportService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'skinService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ldapService': Unsatisfied dependency expressed through field 'ecasWorker'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ecasWorker': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schemaService': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'ecf.template' in value "${ecf.template}"

My current configuration is:
C:\Windows\System32>echo %JAVA_HOME% ------> C:\Program Files\Java\jdk-1.8
C:\Windows\System32>echo %M2% -----> C:\Users\work\apache-maven-3.2.3\bin
Apache Tomcat Server 8.5.95
Spring Tool Suite 4 (Version 4.19.0 RELEASE)

@whakaoo
Copy link
Author

whakaoo commented Jan 26, 2024

@Iddah I'm sorry but I can't help you. I have chosen not to use this library. Too many problems and limited technical support from developers make it unusable for me.

@jobenjada
Copy link

hey! Not sure if the EU Survey team is still actively developing the solution. We've been working on a free & open source (AGPLv3) survey platform for almost 2 year now and keep improving it daily: Have a look at Formbricks

Github repo: https://github.com/formbricks/formbricks
Website: https://formbricks.com/

Happy to answer any questions in our Discord :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants