How to Create Java Web Project in NetBeans

  Рет қаралды 124,428

Code Java

Code Java

Күн бұрын

Пікірлер: 116
@kirubakaran5161
@kirubakaran5161 3 жыл бұрын
Precisely demonstrated the concepts. Helped a lot to learn the Netbeans IDE and Web app development. thank you
@CodeJava
@CodeJava 3 жыл бұрын
You're welcome. Glad it helped.
@Hannah-oj1ts
@Hannah-oj1ts 3 жыл бұрын
Thanks for making this! Very clearly explained As of November 2021, Apache Tomcat v.10 doesn't play nice with Java EE 7. Save yourself a headache, use v.9 like is recommended in the video :D
@CodeJava
@CodeJava 3 жыл бұрын
Glad it helped! And thanks for your update about Tomcat 10.
@nguyenducduy9299
@nguyenducduy9299 3 жыл бұрын
Nghe giọng biết ngay người Việt ! Thanks for this.
@CodeJava
@CodeJava 3 жыл бұрын
you're welcome :)
@sal-so2rw
@sal-so2rw 8 ай бұрын
Thought he was french😅😅😅😅😅
@bincyelizabeth19799
@bincyelizabeth19799 9 ай бұрын
watching from Kerala,India
@CodeJava
@CodeJava 9 ай бұрын
Got it. Thanks for watching :)
@ibtisamali2329
@ibtisamali2329 2 жыл бұрын
Thank you for your videos. It helped me a lot. But, I'm using IDE 15, and Java 18.0.2. I was trying to follow along with you starting with the simple web Maven application, but it fails and do not run. It gives me this error: Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1 I tried to find a solution, but nothing is working. I'm not sure what I need to do to resolve it. Would you please advise me.
@CodeJava
@CodeJava 2 жыл бұрын
can you share the full error?
2 жыл бұрын
hi do you know how to solve this The requested resource [/unitConverter/convert] is not available I always get this message
@CodeJava
@CodeJava 2 жыл бұрын
Is that 404 error? If so, check URL mapping of the servlet - be sure no typos.
2 жыл бұрын
@@CodeJava yes 404 error. Already checked it multiple times 😢
@АртёмМончев
@АртёмМончев Жыл бұрын
It works. And I understand, how does it work. Thannk you!
@CodeJava
@CodeJava Жыл бұрын
glad it helped.
@devanshbhuptani260
@devanshbhuptani260 3 жыл бұрын
Hey, when I'm doing clean and build, it's showing an error: Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.3:war (default-war) on project Prac3: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.3:war failed: Unable to load the mojo 'war' in the plugin 'org.apache.maven.plugins:maven-war-plugin:2.3' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: null Can you help me with this, please?
@黃奕翔-u3x
@黃奕翔-u3x 2 жыл бұрын
me too!
@anggaluri8492
@anggaluri8492 2 жыл бұрын
Thanks for Tutorial, thats is helpfull
@CodeJava
@CodeJava 2 жыл бұрын
You're welcome
@thomasturner8093
@thomasturner8093 2 жыл бұрын
Why did *Jakarta EE 8 WEB* disappear after you installed _Tomcat 9_ ?
@CodeJava
@CodeJava 2 жыл бұрын
Sorry, I don't know.
@alvinkariuki236
@alvinkariuki236 3 жыл бұрын
thanks for this superb run through
@CodeJava
@CodeJava 3 жыл бұрын
Glad you enjoyed it
@james10master
@james10master 3 жыл бұрын
When I'm trying to run the application at around 8:15, the build is successful but I get this error message at the top: FAIL - Failed to deploy application at context path [/webApp]
@james10master
@james10master 3 жыл бұрын
Nevermind, I fixed the issue. I had two instances of TomCat running at once
@devanshbhuptani260
@devanshbhuptani260 3 жыл бұрын
Hey, do you know how to create Servlets in this?
@drashtipatel9462
@drashtipatel9462 2 жыл бұрын
Thank you so much for this video 🤗🤗
@CodeJava
@CodeJava 2 жыл бұрын
Most welcome 😊
@devanshbhuptani260
@devanshbhuptani260 3 жыл бұрын
Hey, thanks for this, but can you show me how to create Servlets in this?
@CodeJava
@CodeJava 3 жыл бұрын
kindly watch from the minute 12:36
@devanshbhuptani260
@devanshbhuptani260 3 жыл бұрын
@@CodeJava, I followed each and every step you've mentioned in the video, but still it's not working
@onwunandu
@onwunandu 3 жыл бұрын
i get an error 404 when i enter a value and click the button to convert. how do i fix this
@CodeJava
@CodeJava 3 жыл бұрын
check servlet URL mapping - it should match the action of the form. Also refer to this video for solution: kzbin.info/www/bejne/qmi5poR4fb2LqK8
@onwunandu
@onwunandu 3 жыл бұрын
ive solved it.. thanks
@pluto7367
@pluto7367 3 жыл бұрын
how did you resolve?
@amnojeeuw
@amnojeeuw Жыл бұрын
Hi there, can anyone recommend a tutorial like this one in American English?
@rypper888
@rypper888 9 ай бұрын
Thank u for teaching
@CodeJava
@CodeJava 9 ай бұрын
It's my pleasure
@andresparedeshorna2380
@andresparedeshorna2380 10 ай бұрын
Thanks for the video, but Legends would help me a lot,
@CodeJava
@CodeJava 10 ай бұрын
No problem 👍 you mean the captions or suggested chapters?
@andresparedeshorna2380
@andresparedeshorna2380 10 ай бұрын
I mean to enable "Subtitles/Close Captions" in English. Thanks very much.
@Jrj4250
@Jrj4250 2 жыл бұрын
At around 22:22 RequestDispatcher is mentioned but its not defined anywhere in the code and mine throws the "cannot find symbol" error at me, why is this?
@Jrj4250
@Jrj4250 2 жыл бұрын
Edit: I could not get RequestDispatcher so I got rid of that and just ran that line (request.getRequestDispatcher(resultPage)) and did the .forward to that
@CodeJava
@CodeJava 2 жыл бұрын
you mean the problem was solved?
@Jrj4250
@Jrj4250 2 жыл бұрын
I suppose it could be interpreted that way. I would say I solved it. I just jumped around the problem and made it work for just my case. Guess I could've said I solved it too.
@ron_fut_aldo5622
@ron_fut_aldo5622 2 жыл бұрын
Nice video 🥰
@CodeJava
@CodeJava 2 жыл бұрын
Thanks 🤗
@nallathambi431
@nallathambi431 3 жыл бұрын
Hi ,Very well nice ! thank ..
@CodeJava
@CodeJava 3 жыл бұрын
Glad it helped.
@deusexeugenics
@deusexeugenics Жыл бұрын
How can i make a java aplication execute with the web services?
@CodeJava
@CodeJava Жыл бұрын
you need to run your java app in a web server like Apache Tomcat. Check this video: kzbin.info/www/bejne/hGK4q4ZvpM-oi7s
@deusexeugenics
@deusexeugenics Жыл бұрын
@@CodeJava glassfish is useful for this task to?
@CodeJava
@CodeJava Жыл бұрын
yes, but GlassFish is heavier than Tomcat@@deusexeugenics
@vanajakarthika7900
@vanajakarthika7900 2 жыл бұрын
hi am not getting the result printed...simply shows$(miles)=$(km)=kilometres
@CodeJava
@CodeJava 2 жыл бұрын
so what did you get?
@qosku
@qosku 3 жыл бұрын
ERROR Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.3:war (default-war) on project mavenproject1: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.3:war failed: Unable to load the mojo 'war' in the plugin 'org.apache.maven.plugins:maven-war-plugin:2.3' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: null
@CodeJava
@CodeJava 3 жыл бұрын
Hmm... I have no idea why.
@fer8091
@fer8091 2 жыл бұрын
Did you fixed it? I have the same problem but don't know how to deal ;(
@qosku
@qosku 2 жыл бұрын
@@fer8091 Yes , unistall all and intall (Reinstall all)
@syedmmhm1857
@syedmmhm1857 2 жыл бұрын
Thanks very much 💘
@CodeJava
@CodeJava 2 жыл бұрын
You're welcome 😊
@muhammadraza2895
@muhammadraza2895 2 жыл бұрын
Hi,code java when i am creating this and run my project file running sucessfully but when creating servlet and hit to convert button this show me http status 404 UnitConverter/Convert not found i think servlet not found how can i remove this errror plz guide thanks u
@CodeJava
@CodeJava 2 жыл бұрын
Check typos in action URL of the form, it should be action="convert"
@muhammadraza2895
@muhammadraza2895 2 жыл бұрын
@@CodeJava action="convert" i can follow your turtorial but still http 404
@muhammadraza2895
@muhammadraza2895 2 жыл бұрын
@@ayeshaazad5872 then how you can solve this error ???
@muhammadraza2895
@muhammadraza2895 2 жыл бұрын
@@ayeshaazad5872 hence prove LHS=RHS😂
@muhammadraza2895
@muhammadraza2895 2 жыл бұрын
@@ayeshaazad5872 which university and Smester?
@diemquyentran7729
@diemquyentran7729 Жыл бұрын
I have an error here: Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.3:war (default-war) on project LAB_WEB: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.3:war failed: Unable to load the mojo 'war' in the plugin 'org.apache.maven.plugins:maven-war-plugin:2.3' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: null Please help :((
@CodeJava
@CodeJava Жыл бұрын
Hmm, I have no idea why.
@maduabewardana7900
@maduabewardana7900 2 жыл бұрын
Thank you so much
@CodeJava
@CodeJava 2 жыл бұрын
You're most welcome
@thendophungotshiendanamisi68
@thendophungotshiendanamisi68 2 жыл бұрын
When i put in the numbers it says HTTP status 404 - not found
@CodeJava
@CodeJava 2 жыл бұрын
check the URLs specified in the action attribute of the form, for links. Also check suggested solutions in this video: kzbin.info/www/bejne/qmi5poR4fb2LqK8
@sachinsharma1230
@sachinsharma1230 3 жыл бұрын
Thank you soo much ❤❤❤❤❤❤❤❤❤❤❤❤🙌🙌🙌🙌🙌🙌🙌
@CodeJava
@CodeJava 3 жыл бұрын
You're welcome 😊
@nahlakechroud4010
@nahlakechroud4010 3 жыл бұрын
it takes too long to run the project and what's the différence between create java project with Maven and java with Ant and choose java web / java web application ?
@CodeJava
@CodeJava 3 жыл бұрын
Maven and Ant are two different software project management and build tools.
@nahlakechroud4010
@nahlakechroud4010 3 жыл бұрын
@@CodeJava please when i run the project, an error message : Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on project : Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war failed: Unable to load the mojo 'war' in the plugin 'org.apache.maven.plugins:maven-war-plugin:2.1.1' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Cannot access defaults field of Properties. i googled and i tried all solutions but the same error. this is the first time i work with netbeans and maven project
@romualdmbogne3866
@romualdmbogne3866 2 жыл бұрын
@@nahlakechroud4010 change maven-war-plugin version from 2.1.1 to 3.2.2, it works for me
@adamchilds9132
@adamchilds9132 3 жыл бұрын
Hi when I run the code after creating the servlet class I get this error COMPILATION ERROR : ------------------------------------------------------------- error: Source option 6 is no longer supported. Use 7 or later. error: Target option 6 is no longer supported. Use 7 or later. Any ideas how I can solve this thank you great video :-)
@CodeJava
@CodeJava 3 жыл бұрын
That means Java version 1.6 is no longer supported. You must configure the java compiler version to 1.7 or newer in the project properties dialog (press F4).
@modris2980
@modris2980 Жыл бұрын
Thank you.
@CodeJava
@CodeJava Жыл бұрын
Welcome!
@shubhamverma865
@shubhamverma865 2 жыл бұрын
Sir how to add jar file
@CodeJava
@CodeJava 2 жыл бұрын
Right-click on the project name in the Projects tab. Select Properties. Select Libraries. Click the Add Jar/Folder button.
@hc38
@hc38 3 жыл бұрын
Tks bác :v
@lolicon5x10
@lolicon5x10 Жыл бұрын
Hey, i got a error. It said "FAIL - Failed to deploy application at context path [/WebApplication1] C:\Users\Admin\Documents\NetBeansProjects\WebApplication1 bproject\build-impl.xml:1030: The module has not been deployed." Can you help me fix it ?
@CodeJava
@CodeJava Жыл бұрын
I have no idea why.
@darthalzmaul
@darthalzmaul Жыл бұрын
i got the same error, its most likely connected to incompatible versions. I use jdk-21 tomcat 9 and selected java-EE 8, ill try to re-do this with the exact versions from the tutorial and then see if it works
@omkarkambire6965
@omkarkambire6965 Жыл бұрын
@@darthalzmaul have you tried?
@darthalzmaul
@darthalzmaul Жыл бұрын
@@omkarkambire6965 I have not tried. As far as I remember I fixed it somehow but ran into a lot more problems afterwards, I switched to vs code and springboot web which worked a lot better.
@lengocthang7139
@lengocthang7139 2 жыл бұрын
giọng anh này giống ng việt ghê
@CodeJava
@CodeJava 2 жыл бұрын
because I'm Vietnamese.
@huyvu5439
@huyvu5439 3 жыл бұрын
Tiếng anh dễ nghe khả năng cao là người việt =)))
@CodeJava
@CodeJava 3 жыл бұрын
đúng rồi đó bạn.
Spring @EnableScheduling Annotation Examples
4:23
Code Java
Рет қаралды 143
Java Programming for Beginners - Full Course
4:11:00
freeCodeCamp.org
Рет қаралды 1,3 МЛН
У вас там какие таланты ?😂
00:19
Карина Хафизова
Рет қаралды 16 МЛН
啊?就这么水灵灵的穿上了?
00:18
一航1
Рет қаралды 115 МЛН
HELP!!!
00:46
Natan por Aí
Рет қаралды 32 МЛН
I tricked MrBeast into giving me his channel
00:58
Jesser
Рет қаралды 26 МЛН
How to Connect to Microsoft SQL Server in NetBeans IDE
15:27
Code Java
Рет қаралды 49 М.
JAVA - How To Design Login And Register Form In Java Netbeans
23:02
Coding with Elias
Рет қаралды 191 М.
What does larger scale software development look like?
24:15
Web Dev Cody
Рет қаралды 1,4 МЛН
Think Fast, Talk Smart: Communication Techniques
58:20
Stanford Graduate School of Business
Рет қаралды 41 МЛН
Winning Facebook (Meta) Hacker Cup Qual Round 2022?
53:55
Neal Wu
Рет қаралды 2,5 МЛН
У вас там какие таланты ?😂
00:19
Карина Хафизова
Рет қаралды 16 МЛН