Forum

Hello world tutorial!  

  RSS

reg4b
New Member
Joined:2 years  ago
Posts: 2
01/09/2017 9:21 pm  

Hello! 

I have a doubt about how works Hello World Tutorial, after running my project the only result is the text of index.jsp on the browser, my question is:

Should appear in console the text of TestBean class ("Welcome to spring test.")? Unless how I know that classes work?

Excuse me unknowledge.

Thanks in advance.

Grettings.


ReplyQuote
admin
Member Admin
Joined:2 years  ago
Posts: 7
01/09/2017 9:44 pm  

Hi,

You don't need to run this program as web application. This is console application which you can run by main method. If you wish to learn about web application then go for Spring MVC tutorial.


ReplyQuote
reg4b
New Member
Joined:2 years  ago
Posts: 2
01/09/2017 9:57 pm  

Look

http://imgur.com/vjbB619

I run project like Java Aplicattion and i get this error: "Editor does not contain a main type"

I dont understand :'(

thx


ReplyQuote
admin
Member Admin
Joined:2 years  ago
Posts: 7
01/09/2017 10:02 pm  

Clean your project and try to run it again.

Or delete the main method and then clean the project and then write the main method again.


ReplyQuote
  
Working

Please Login or Register