I've been assigned to an old Java Facets application, and in order to do my work I have to do a reverse ingeneering task first, hence running the project on my machine.
So the project seems to build fine and it's supposed to run on a Tomcat 7 server but it's been 3 days now and i've tried pratically everything I could think of to fix this single output :
/home//.jdks/temurin-17.0.3/bin/java -Dfile.encoding=UTF-8 -classpath /tmp/classpath1653361017.jar com.intellij.javaee.oss.process.JavaeeProcess 40057 org.jetbrains.idea.tomcat.agent.TomEEAgent
/home//apache-tomee-plume-7.0.9/bin/catalina.sh run
[2022-05-11 09:49:54,280] Artifact MyProject:war exploded: Waiting for server connection to start artifact deployment...
/home/azesa/apache-tomee-plume-7.0.9/bin/catalina.sh: line 427: /var/lib/snapd/snap/intellij-idea-ultimate/353/bin/java: No such file or directory
Disconnected from server
Please HELP
To run TomEE 7, you need to use Java 7 or Java 8.
Your log indicate, that you try to run with Java 17, which won't work. Java 17 ist only supported in TomEE 8.0.11 (Jakarta EE 8) or TomEE 9.0.0+M8-SNAPSHOT (Jakarta EE 9.1).
In addition, it looks like your Environment variables (JAVA_HOME) point to a non existing Java executable.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.