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

Error while building #1

Open
sergiobaiao opened this issue Jan 29, 2024 · 3 comments
Open

Error while building #1

sergiobaiao opened this issue Jan 29, 2024 · 3 comments

Comments

@sergiobaiao
Copy link

Hi there,

Just tried building this for testing, but the following occurred:
[INFO] ---------------------< org.alfresco:ai-summarize >---------------------- [INFO] Building ai-summarize 0.0.8 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ ai-summarize --- [INFO] Deleting /var/genai/GenAI-Experiments/summarizer/ai-summarize/target [INFO] [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ ai-summarize --- [INFO] Copying 1 resource from src/main/resources to target/classes [INFO] Copying 0 resource from src/main/resources to target/classes [INFO] [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ ai-summarize --- [INFO] Changes detected - recompiling the module! :source [INFO] Compiling 10 source files with javac [debug release 17] to target/classes [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.444 s [INFO] Finished at: 2024-01-29T12:51:39-03:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project ai-summarize: Fatal error compiling: invalid flag: --release -> [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: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

mvn --version
Apache Maven 3.5.4 (Red Hat 3.5.4-5)
Maven home: /usr/share/maven
Java version: 1.8.0_402, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.402.b06-2.0.1.el8.x86_64/jre
Default locale: pt_BR, platform encoding: UTF-8
OS name: "linux", version: "5.4.17-2136.325.5.el8uek.x86_64", arch: "amd64", family: "unix"

java -showversion
openjdk version "1.8.0_402"
OpenJDK Runtime Environment (build 1.8.0_402-b06)
OpenJDK 64-Bit Server VM (build 25.402-b06, mixed mode)

javac -version
javac 1.8.0_402

@jasonmamy
Copy link

I'm running mvn version
mvn --version
Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)

java jdk version jdk-19.0.1
javac 19.0.1

(I did download the 'official' JDK from sun as I've had issues with the openjdk in the past)

and can run
mvn clean package

and everything builds

Maybe try with another jdk/java version?

@sergiobaiao
Copy link
Author

you were right, i've tried with official jdk and it worked. Now, when running the genai-stack docker container i keep getting this on the logs:

genai-stack-document-1 | INFO: 127.0.0.1:35914 - "GET / HTTP/1.1" 404 Not Found
genai-stack-document-1 | INFO: 127.0.0.1:50074 - "GET / HTTP/1.1" 404 Not Found
genai-stack-document-1 | INFO: 127.0.0.1:48386 - "GET / HTTP/1.1" 404 Not Found
genai-stack-document-1 | INFO: 127.0.0.1:49982 - "GET / HTTP/1.1" 404 Not Found

Do you know what this could be?

@jasonmamy
Copy link

Yea I'm not sure on that, in this project I couldn't get the genai stack or the alfresco stack working, lots of errors. I had to go to the original genai project to get that working:

https://github.com/docker/genai-stack (I ran the linux profile (no GPU) with success)

it works, I'll have to modify this project to try to get all the pieces working, maybe fork this project or create a new one based on this project. Depends on if the original authors are responsive to this project or not.

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

2 participants