Тёмный

Run and Debug Java Web Application in Tomcat using VS Code | Use VS Code Community Server Connector 

LearningFromExperience
Подписаться 2,4 тыс.
Просмотров 38 тыс.
50% 1

In case you have liked this video request you subscribe to this channel .
Please also share your thoughts in case you want any videos on any other topic(s).
You can find my Udemy courses in the following links :
1.Learn to use Git and Github with Eclipse: A Complete Guide (www.udemy.com/...)
2.Java Debugging With Intellij IDEA (www.udemy.com/...)
3.Eclipse Debugging Techniques And Tricks (www.udemy.com/...)
4. Creational Design Patterns in Java( www.udemy.com/...)
For discounted coupons of these course please contact me at j2eeexpert2015@gmail.com

Опубликовано:

 

15 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 46   
@Tactical_Ninja0806
@Tactical_Ninja0806 Год назад
Thanks a lot man......was really struggling to get this tomcat and VSCode run together. Thanks mate
@learningfromexperience
@learningfromexperience Год назад
Glad it helped .
@leonardoqoliveira1584
@leonardoqoliveira1584 Год назад
thank you so much, i'm from Brazil and it's realy hard to find some good tutorials, like this
@learningfromexperience
@learningfromexperience Год назад
Glad you like them!
@kshitizchandra1223
@kshitizchandra1223 7 месяцев назад
best video ever i was not able to open my tomcat manager page and this guy did it in single hit....thanks man.
@learningfromexperience
@learningfromexperience 7 месяцев назад
Glad it helped
@sivaraamtk4418
@sivaraamtk4418 Год назад
Thank you so much bro, I can' t find a single good tutorial other than this
@learningfromexperience
@learningfromexperience Год назад
Glad I could help
@yash1152
@yash1152 11 месяцев назад
0:56 './conf/tomcat-users.xml': configuring tomcat users 1:37 './bin/startup.{sh,bat}': tomcat startup scripts 1:48 run any of above to run tomcat via CLI (awesome :) 3:51 the vscode part _seems_ to start from here
@Adi-zu1vz
@Adi-zu1vz Месяц назад
when i am creating a new server from local disk, it is showing error "Unable to create the server: Extension backend error - unable to contact the rsp server." it is thrown via extension Runtime Server Protocol UI pls tell solution
@roanbaga
@roanbaga 8 месяцев назад
I have Tomcat inside a local docker in my computer. How can I connect it with my vscode
@22manohar08
@22manohar08 Год назад
How to do hotreload when running on server? Like eclipse
@SoloScholar0202
@SoloScholar0202 Год назад
Hi, the server is not starting up for me. It says neither the java_home nor java_main is set up even though I have added the environment variables properly.
@learningfromexperience
@learningfromexperience Год назад
Not sure about the exact problem but would suggest you to try the following . 1.Check the JAVA_HOME 2.Try to start the tomcat using apache-tomcat-\bin\startup.bat file . 3.Tomcat stores its log files in the logs directory within the Tomcat installation folder, e.g., C:\Tomcat\apache-tomcat-\logs. Check the logs .
@karishmaclasses
@karishmaclasses Год назад
Sir your simpleweb.war file which type of program was stored in that so. That it was showing login page I can't understand that file please give some response
@learningfromexperience
@learningfromexperience Год назад
I did not get your question actually .the simpleweb.war is WAR file deployed in Tomcat here .It contains few html pages and servlet java classes.
@yatharthlashkari3166
@yatharthlashkari3166 Год назад
Can't access Manager-GUI. After opening localhost:8080 for accessing manager inputting username and password "admin" still not allowing me to access. Can you please tell me what wrong step I am taking?
@learningfromexperience
@learningfromexperience Год назад
Not exactly sure .Would request you to enter correct uid/password and share the exact error message you are getting if still the problem exits.
@ngothanhphuong2703
@ngothanhphuong2703 10 месяцев назад
If you don't see the file there you can type "mvn package" at the terminal in vscode, it will appear in the target folder
@thatvu5568
@thatvu5568 Год назад
I want to using tomcat 10 for study but community connect server can't run and get errorr " Configuration error java.io.FileNotFoundException: 'd:\TomCatSever\apache-tomcat-10.1.7\conf\logging.properties' (The filename, directory name, or volume label syntax is incorrect)" can i fix that
@learningfromexperience
@learningfromexperience Год назад
It seems the Tomcat server is unable to find the logging.properties file in the specified path. Not exactly sure but you can try the following 1.Check if the apache-tomcat-10.1.7 directory is present in the TomCatSever folder on the D: drive and if the logging.properties file exists in the conf directory. 2.Update the file path in Tomcat configuration: If the path to the logging.properties file is incorrect, update the Tomcat configuration to point to the correct location. Look for the java.util.logging.config.file system property in the Tomcat startup script and update its value to the correct path. For Windows, open the catalina.bat file (located in the bin directory of your Tomcat installation) and locate the following line: set "JAVA_OPTS=%JAVA_OPTS% -Djava.util.logging.config.file="%CATALINA_BASE%\conf\logging.properties"" Update the path in the -Djava.util.logging.config.file option if necessary. For Linux, open the catalina.sh file (located in the bin directory of your Tomcat installation) and locate the following line: JAVA_OPTS="$JAVA_OPTS -Djava.util.logging.config.file=$CATALINA_BASE/conf/logging.properties" Update the path in the -Djava.util.logging.config.file option if necessary. 3.Restart the Tomcat server: Once you have resolved the issue with the logging.properties file, restart the Tomcat server to apply the changes.
@williansdutra
@williansdutra Год назад
so well done explained!
@learningfromexperience
@learningfromexperience 10 месяцев назад
Glad it was helpful!
@AlexVargas-rq7bl
@AlexVargas-rq7bl 7 месяцев назад
Option "run on server" does not appear to me. Do I need some special extension for that?
@learningfromexperience
@learningfromexperience 7 месяцев назад
The "Run On Server" option not appearing in Eclipse typically indicates an issue with the configuration or setup related to server runtime environments or the project itself. Following are few most common reasons and solutions: 1.Eclipse IDE Version: Ensure you are using an Eclipse version that supports server integration, such as Eclipse IDE for Enterprise Java and Web Developers. 2.Server Runtime Environment Not Configured: Eclipse needs a server runtime environment to deploy and run web applications. Go to Window > Preferences > Server > Runtime Environments to check if a server is configured. If not, add a new server runtime environment that matches your target server (e.g., Tomcat). 3.Dynamic Web Module Facet Version: The project must be a Dynamic Web Project or have the Dynamic Web Module facet enabled with a compatible version. Right-click on the project > Properties > Project Facets > check if Dynamic Web Module is selected and set to an appropriate version.
@Testchannel-ds4yt
@Testchannel-ds4yt Год назад
Unable to create the server: Extension backend error - could not detect any server at `path-to-tomcat\apache-tomcat-11.0.0-m6`! How do I fix this? The server files are in the mentioned directory, yet it wouldn't detect them
@soumyaranjansahoo4100
@soumyaranjansahoo4100 8 месяцев назад
Same problem here
@soumyaranjansahoo4100
@soumyaranjansahoo4100 8 месяцев назад
Solution plz
@Robert8989X
@Robert8989X Год назад
I followed your steps. Once I entered user/id(admin/admin) on the login page, I got this error. Thanks ------------------- HTTP Status 404 - Not Found Type Status Report Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. Apache Tomcat/10.1.8
@starkendeavours7072
@starkendeavours7072 11 месяцев назад
first..open the tomcat manager application and do the same as per video just for once.. and reload the page..from the next time right click on server and show in localhost:8080/ "_your directory name_"
@vikaskatla
@vikaskatla Год назад
for html files .warfile is not generating
@Insighttutorials19
@Insighttutorials19 8 дней назад
Really helped thanks man 🙂🙂
@anuragbotke888
@anuragbotke888 6 месяцев назад
Could you please deploy my .war file on server. I’m ready to pay for it.
@iradukundairenee1326
@iradukundairenee1326 Год назад
thank you you may share with us tom cat link you use so that we can download it
@learningfromexperience
@learningfromexperience Год назад
Glad it helped
@stknguyn2806
@stknguyn2806 Год назад
.war file not found sir. Please check and fix that
@theuntoldtruth-bk8iz
@theuntoldtruth-bk8iz Год назад
mine says "maven executable path not found"
@learningfromexperience
@learningfromexperience Год назад
Apologies for the delayed response .There is a probability that maven is not correctly set in your system or with the VS Code. Please check this page for Maven setup related issues in VS Code github.com/microsoft/vscode-maven/blob/main/Troubleshooting.md
@kamranastanov5016
@kamranastanov5016 Год назад
Thanks a lot
@learningfromexperience
@learningfromexperience Год назад
Happy to help
@swarnalatapanigrahy6968
@swarnalatapanigrahy6968 Год назад
War file is not finding
@DuongTran-zh6td
@DuongTran-zh6td 6 месяцев назад
master pro
@yash1152
@yash1152 11 месяцев назад
0:56 './conf/tomcat-users.xml': configuring tomcat users 1:37 './bin/startup.{sh,bat}': tomcat startup scripts 1:48 run any of above to run tomcat via CLI (awesome :) 3:51 the vscode part _seems_ to start from here
Далее
Debugging a Java Web App using Tomcat & VS Code
9:12
Это было очень близко...
00:10
Просмотров 2,3 млн
My Visual Studio Code Setup for Web Development
13:56
Getting started with Maven on Visual Studio Code
10:15
Это было очень близко...
00:10
Просмотров 2,3 млн