-
Notifications
You must be signed in to change notification settings - Fork 305
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
Payara Micro fails to run a MicroProfile example project on Windows #4445
Comments
Hi @Karm, The error is due to the fact that you have a |
@rdebusscher Thx for the analysis. |
@smillidge How come this is closed? Having a |
Hi, it is not caused by Payara, but the property file syntax, as it is specified here: https://docs.oracle.com/javase/specs/jls/se7/html/jls-3.html#jls-3.3 |
EDIT: bad news, native2ascii and native2ascii-maven-plugin too cannot help. So you have to do that manually ... |
Final summary - there are two options:
|
THX @dmatej |
@Karm The advice given is kind of a non advice. I think you should at least verify on Windowsand see if you can solve it or understand why it happens before you close the issue. I just used https://start.microprofile.io/ to generate project and using maven to compile it, I have no property file at all more than the one in the project. So which property file are you referring to that should be changed to It cannot really be expected to go into Windows environment variables and change every one of them, something that may not even be possible for people sitting on restricted computers where parts are not accessible. You could at least verify the problem and/or debug it on Windows. |
@pejomstd I did not solve this. |
MicroProfile example fail on Windows
Expected Outcome
Payara Micro starts and serves landing page
Current Outcome
Steps to reproduce
Environment
cmd
and cmderC:\tmp\demo λ echo %PATH% C:\Tools\cmder\bin;C:\Tools\cmder\vendor\bin;C:\Tools\cmder\vendor\conemu-maximus5\ConEmu\Scripts;C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Auxiliary\Build;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Strawberry\perl\bin;C:\Strawberry\perl\site\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\RedHat\java-11-openjdk-11.0.1-1\bin;C:\Program Files\7-Zip;C:\Tools\apache-maven-3.6.0\bin;C:\Program Files\dotnet\;C:\Program Files\CMake\bin;C:\Program Files\NASM;C:\Tools\apache-maven-3.6.0\bin;C:\Tools\cmder\bin;C:\Tools\cmder\vendor\bin;C:\Tools\cmder\vendor\conemu-maximus5\ConEmu\Scripts;C:\Tools\cmder\vendor\conemu-maximus5;C:\Tools\cmder\vendor\conemu-maximus5\ConEmu;C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Auxiliary\Build;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Strawberry\perl\bin;C:\Strawberry\perl\site\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\RedHat\java-11-openjdk-11.0.1-1\bin;C:\Program Files\7-Zip;C:\Tools\apache-maven-3.6.0\bin;C:\Program Files\dotnet\;C:\Program Files\CMake\bin;C:\Program Files\NASM;C:\Users\Administrator\AppData\Local\Programs\Python\Python37\Scripts\;C:\Users\Administrator\AppData\Local\Programs\Python\Python37\;C:\Users\Administrator\AppData\Lo;C:\Tools\cmder\vendor\git-for-windows\cmd;C:\Tools\cmder\vendor\git-for-windows\mingw64\bin;C:\Tools\cmder\vendor\git-for-windows\usr\bin;C:\Tools\cmder
The text was updated successfully, but these errors were encountered: