-
compiling with Java 1.8
-
Version: 11.0.11+9
-
You need to change the configuration to 1.8 and java 11 is not supported now
-
Thanks changing to java version 8 worked
https://github.com/Just5KY/onedev/runs/6750131471
name: Java CI on: workflow_dispatch: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Set up JDK 1.8 uses: actions/setup-java@v3 with: java-version: '8' distribution: 'adopt' - name: Build with Maven run: mvn clean package -
Previous Value Current Value Open
Closed
-
Yes, although OneDev can run on Java11-17. Compiling it still needs Java8.
| Type |
Bug
|
| Priority |
Normal
|
| Assignee | |
| Affected Versions |
Not Found
|
Issue Votes (0)
Hello, I followed issue onedev/server#587 but I am not able to build the image
mvn clean packagegives errors when its testingHere's the Workflow link
Here's where the error starts step:4:28707
I have never worked with Java before so idk how to fix this