• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploy Problem on server.

 
Sandeep Sirsekar
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi , I have developed Java EE application using Netbeans , its very simple application with only 1 jsp and 1 class file .

Now problem im facing is that my .war file. when i extract it there is NO CLASS FILE FOUND IN IT. only single jsp file is there.

and two different deploy time result.

1) on local pc

It works perfectly fine no error nothing.even database functionality is also fine.

2) on real server

The request to servelet shows no page found as there is no class in .war file

Can anyone help me please im new to deploying thing on real server.
 
Vijitha Kumara
Bartender
Posts: 3913
9
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sandeep Sirsekar wrote:Now problem im facing is that my .war file. when i extract it there is NO CLASS FILE FOUND IN IT. only single jsp file is there.


Then if jsp uses the class you should get an error.


1) on local pc

It works perfectly fine no error nothing.even database functionality is also fine.


Check inside your server, from your previous deployment whether the class file is there.

If your war does not contain class file then there may be something wrong in your configuration which used to create the war.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The request to servelet shows no page found as there is no class in .war file

This sounds fishy. Why would there be an error about a page not being found, if in fact a class is missing? What is the actual exception?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic