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

Example Java Web Sample program does not compile #376

Closed
ronther1 opened this issue May 11, 2021 · 1 comment
Closed

Example Java Web Sample program does not compile #376

ronther1 opened this issue May 11, 2021 · 1 comment

Comments

@ronther1
Copy link

The Sample Java Web application does not run. I get:
[ERROR] Source option 5 is no longer supported. Use 6 or later.
[ERROR] Target option 1.5 is no longer supported. Use 1.6 or later.

I added the following to the pom.xml:

<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

And got this error:
[ERROR] Failed to execute goal io.openliberty.tools:liberty-maven-plugin:3.2.1:start (default-cli) on project libertySample: CWWKM2002E: Failed to invoke [/Users/ronther1/Development/app-id-sample-java-master/WebApplication/target/liberty/wlp/bin/server, start, sample]. RC= 22 but expected=[0, 1]. -> [Help 1]

@smguilia
Copy link
Collaborator

Hi @ronther1,

Thank you for opening this. I've forwarded this feedback to our development team.

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