wood burning stoves 2.0*
The moose likes JSP and the fly likes JSP code is have problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP code is have problem" Watch "JSP code is have problem" New topic
Author

JSP code is have problem

Milind Wakale
Greenhorn

Joined: Mar 21, 2013
Posts: 1

Hello Everybody,

I am new to JSP Servlet and building an application in JSP servlet. I created an application and it was working fine. I am using Eclipse IDE for Web development and I am getting following error from few minutes ago. What should be problem. I configured Tomcat server 7.0 in my eclipse for this purpose and using servlet 3.0. What can be my problem?



Thanks for reply..


--
Regards,
Milind Wakale,
DiscoverIT System Integrators Pvt. Ltd.
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3606
    
  60

Welcome to the Ranch, Milind!

I'm moving your post to our JSP forum, it looks better suited for your question.
Rakesh Keerthi
Ranch Hand

Joined: Jul 16, 2012
Posts: 136
Hi Milind ,

can you please provide your source code. so that we can figure where it is going wrong.

Thanks
Stefan Evans
Bartender

Joined: Jul 06, 2005
Posts: 1016
These are error messages coming from the code generated from your JSP?
These are errors in Eclipse, or errors in your log when you access the page?


The type ____ is not generic - these types are standard Java, and should be generic from Java1.5+
The method valueOf(String) in the type Long is not applicable for the arguments (long) - valueOf(long) was added in Java 1.5
The type index_jsp must implement the inherited abstract method JspSourceDependent.getDependants() - enforcing inheritance from interfaces is also a relatively new concept - Java 1.6

It looks to me like an inconsistency between versions of java somehow.
You have some compiled code from an earlier version of java 1.4??? which doesn't understand generics, or doesn't have the methods being used, and are trying to compile it with Java7.

I'm not entirely certain what is happening, but hopefully this might point you in the right direction.
I would
- check to see what version of java you are running Tomcat with.
- what version is configured in Eclipse
- are the compiler settings appropriate for your use case

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP code is have problem
 
Similar Threads
Problem loading the class
Can't deploy code for taglibs on Tomcat 5.5
Some errors
Insert new records in database without deleting existing records
how to map sapjco.jar file to a jsp program