facebook

jsp not being displayed

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #279406 Reply

    i have j2sdk 1.4.2_16 and tomcat 4.1 and MyEclipse6.0
    i am able to start the server and deploy a web project…but i am not able to view the index.jsp page in the browser…..
    I am getting status 500 error
    org.apache.jasper.JasperException: Unable to compile class for JSP

    An error occurred at line: -1 in the jsp file: null

    Generated servlet error:
    [javac] Compiling 1 source file

    C:\Apache Software Foundation\Tomcat 4.1\work\Standalone\localhost\MyProject\index_jsp.java:9: cannot access java.lang.Object
    bad class file: E:\Program Files\MyEclipse 5.5.1 GA\jre\lib\rt.jar(java/lang/Object.class)
    class file has wrong version 49.0, should be 48.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
    public class index_jsp extends HttpJspBase {
    ^
    1 error
    CAN U PLZZ HELP ME SOON.

    #279408

    Loyal Water
    Member

    There is some problem with your project structure. Can you go through this tutorial and make sure your project has the same structure.
    http://www.myeclipseide.com/documentation/quickstarts/webprojects/

    #279443

    nope….i followed the exact steps as in the document and i am getting the same error…

    #279444

    i tried the exact same steps as written in the document u sent…i am still getting the same message…..in my web project directory structure..i am not finding the MyEclipse Web Project metadata file

    #279448

    Loyal Water
    Member

    Go to Windows > Show View > Other > General > Navigator. Are you able to see the .mymetadata file in the navigator view under your project ?

    #279468

    ok fine i am able to see the .metadata file but my problem still remains…..do i have to download any tomcat plugin for myeclipse6 so that my jsp pages are displayed? i am able to start up the server and view apache home page at localhost…..plzz give me a suitable solution….
    I am using j2sdk 1.4.2_16 and tomcat 4.1 and MyEclipse6.0 do any of these have any compatabilty issues…..
    i am able to run and use my jsp pages using tomcat (without using myeclipse….) but with myeclipse my jsp pages are not being complied and displayed

    #279487

    Loyal Water
    Member

    do i have to download any tomcat plugin for myeclipse6 so that my jsp pages are displayed?

    You dont have to download any plugin. You will have to configure the tomcat connector. Can you go through the entire tutorial that I posted before and get a basic understanding on how to get your web app to work with MyEclipse.

    Go to MyEclipse > Examples on Demand > Simple JSP example and check if you can get that to work. When you install that project, the readme file has the instuctions to how to run the project.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: jsp not being displayed

You must be logged in to post in the forum log in