servers > wildfly 23 > add and remove > cannot copy class to wildfly [message #1863608] |
Thu, 15 February 2024 07:48 |
Missing name Mising name Messages: 82 Registered: April 2011 |
Member |
|
|
My eclipse project use maven, and the ear is in folder
C:\Slis\20231116\SLIS_WEB\SLISEAR\target\SLISEAR-0.0.1-SNAPSHOT.ear
if use 7zip to see its content, it includes a .war and if expand the .war, it contains all .java class and .class file
https://i.postimg.cc/SstMkfgQ/question20240215-1.jpg
https://i.postimg.cc/XYhmGRX9/question20240215-2.jpg
And I clear all folder in wildfly \standalone\deployments folder
then in eclipse servers tab, select wildfly 23, add and remove, and add the project to configured listbox, press finsh button.
the folder in C:\wildfly-23.0.2.Final\standalone\deployments is still empty
then I right click and select publish in eclipse > servers > wildfly 23.
then I can see the ear folder and a .dodeploy file in C:\wildfly-23.0.2.Final\standalone\deployments
but if I open the ear folder, I see no any .java file or .class file inside the .war > web-inf > classes folder
https://i.postimg.cc/nLj2yMFD/question20240215-5.jpg
Anyway, I found inside C:\wildfly-23.0.2.Final\standalone\deployments\SLISEAR-0.0.1-SNAPSHOT.ear\SLIS-0.0.1-SNAPSHOT.war\WEB-INF\view has many .jsp
https://i.postimg.cc/rmgDgCBC/question20240215-6.jpg
and in eclipse servers > wildfly 23, it show [Stopped, Republish]
If I choose debug now, many error like class not found exception.
https://i.postimg.cc/1tL3vCWF/question20240215-7.jpg
Why no .java file or .class file inside the .war > web-inf > classes folder when I choose publish in eclipse servers > publish? there is java file and .cass file insdie the project target folder .ear file.
|
|
|
|
Powered by
FUDForum. Page generated in 0.06417 seconds