Dev mode not work on Windows
See original GitHub issueGot following error:
[INFO] CWWKM2013I: The file C:\Users\Gilbert\tasks\CNAI\guides\guide-rest-intro\
start\target\liberty\wlp\usr\servers\defaultServer\logs\messages.log being valid
ated does not exist.
[INFO] CWWKM2013I: The file C:\Users\Gilbert\tasks\CNAI\guides\guide-rest-intro\
start\target\liberty\wlp\usr\servers\defaultServer\logs\messages.log being valid
ated does not exist.
[INFO] CWWKM2013I: The file C:\Users\Gilbert\tasks\CNAI\guides\guide-rest-intro\
start\target\liberty\wlp\usr\servers\defaultServer\logs\messages.log being valid
ated does not exist.
[INFO] CWWKM2011E: Timed out searching for CWWKZ0001I.* in C:\Users\Gilbert\task
s\CNAI\guides\guide-rest-intro\start\target\liberty\wlp\usr\servers\defaultServe
r\logs\messages.log.
[INFO] CWWKM2001I: server.config.dir is C:\Users\Gilbert\tasks\CNAI\guides\guide
-rest-intro\start\target\liberty\wlp\usr\servers\defaultServer.
[INFO] CWWKM2001I: server.output.dir is C:\Users\Gilbert\tasks\CNAI\guides\guide
-rest-intro\start\target\liberty\wlp\usr\servers\defaultServer.
[INFO] CWWKM2001I: Invoke command is ["C:\Users\Gilbert\tasks\CNAI\guides\guide-
rest-intro\start\target\liberty\wlp\bin\server.bat", stop, defaultServer].
[INFO] Stopping server defaultServer.
[INFO] Server defaultServer is not running.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:52 min
[INFO] Finished at: 2019-09-13T20:44:28-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.openliberty.tools:liberty-maven-plugin:3.0.1:d
ev (default-cli) on project rest: Unable to verify if the server was started aft
er 30 seconds. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
[INFO] CWWKM2001I: server.config.dir is C:\Users\Gilbert\tasks\CNAI\guides\guide
-rest-intro\start\target\liberty\wlp\usr\servers\defaultServer.
[INFO] CWWKM2001I: server.output.dir is C:\Users\Gilbert\tasks\CNAI\guides\guide
-rest-intro\start\target\liberty\wlp\usr\servers\defaultServer.
[INFO] CWWKM2001I: Invoke command is ["C:\Users\Gilbert\tasks\CNAI\guides\guide-
rest-intro\start\target\liberty\wlp\bin\server.bat", stop, defaultServer].
[INFO] Stopping server defaultServer.
[INFO] Server defaultServer is not running.
C:\Users\Gilbert\tasks\CNAI\guides\guide-rest-intro\start>
Used Windows 8 Home and liberty.maven.plugin 3.0.1.
Apache Maven 3.6.2 (40f52333136460af0dc0d7232c0dc0bcf0d9e117; 2019-08-27T11:06:1
6-04:00)
Maven home: C:\Users\Gilbert\tasks\softwares\apache-maven-3.6.2-bin\apache-maven
-3.6.2\bin\..
Java version: 11.0.4, vendor: AdoptOpenJDK, runtime: C:\Users\Gilbert\tasks\soft
wares\OpenJDK11U-jdk_x64_windows_hotspot_11.0.4_11\jdk-11.0.4+11
Default locale: en_CA, platform encoding: Cp1252
OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "windows"
Issue Analytics
- State:
- Created 4 years ago
- Comments:21 (19 by maintainers)
Top Results From Across the Web
Developer mode not working? - Microsoft Community
Open the Settings app. · Click Apps & Features. · Choose Manage Optional features. · Click Add a feature. · Select the package...
Read more >Windows 11: How to Fix Developer Mode Is Not Working
Fix: Can't Turn on Developer Mode on Windows 11 · Disable Third-Party Programs · Repair Corrupted System Files · Enable Developer Mode via...
Read more >Enabling Developer Mode in Windows 10 - HUAWEI Consumer
Click the Windows icon and the Settings icon, and select Update & Security. Select For developers and turn on the switch under Developer...
Read more >Fix Windows Developer Mode not Working - YouTube
How to Reinstall Windows Developer Mode in Windows 10 Latest Dolby Access for Headphones ( June 2019 ) || Windows 10 ||...
Read more >Enabling Developer Mode on a device
As indicated by the alert, to enable Developer Mode go to Settings > Privacy & Security on the iOS device. Scroll down to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
OK, I tried the latest nightly buid “Java version: 11.0.5, vendor: Eclipse OpenJ9”, no more core dump for debugging the application.
I’ve verified this as well with the above nightly build that @scottkurz mentioned.
Also opened the following PRs so dev mode (with debug mode) will work on Windows on previous Liberty releases, even without the server.bat fix: https://github.com/OpenLiberty/ci.maven/pull/624 https://github.com/OpenLiberty/ci.common/pull/91 https://github.com/OpenLiberty/ci.ant/pull/113