Skip to main content



      Home
Home » Newcomers » Newcomers » Class File Editor -Source Not Found(Class File Editor -Source Not Found)
Class File Editor -Source Not Found [message #782594] Mon, 23 January 2012 21:30 Go to next message
Eclipse UserFriend
hi!need some help here..wonder if you could help me..
my problem is that i imported packages like this:
//
import java.sql.SQLException;
import java.util.Iterator;
import java.util.List;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.commons.fileupload.FileItem;
import org.apache.commons.fileupload.FileItemFactory;
import org.apache.commons.fileupload.FileUploadException;
import org.apache.commons.fileupload.disk.DiskFileItemFactory;
import org.apache.commons.fileupload.servlet.ServletFileUpload;

import data.Myconnection;
import date_time.Server_date_time;
import func.Database_updatetor_mania;
import func.Database_updatetor_mania2;
import func.Helper;
//

in my uploader.java (uploads xls file and save data to database) and the class file editor says that the source for file ServletException.class and others cannot be found and i have to change my attached source. I downloaded the servlet-api.jar but i don't know exactly where to place it in the java directory, and use it in eclipse.
I'm new at eclipse, Sad don't know my way out

anyways, thanks for reading, hope you'll help
Re: Class File Editor -Source Not Found [message #782874 is a reply to message #782594] Tue, 24 January 2012 11:20 Go to previous messageGo to next message
Eclipse UserFriend
On 23-Jan-12 19:30, hannah anciano wrote:
> hi!need some help here..wonder if you could help me.. my problem is that
> i imported packages like this:
> //
> import java.sql.SQLException;
> import java.util.Iterator;
> import java.util.List;
> import java.io.File;
> import java.io.IOException;
> import java.io.PrintWriter;
>
> import javax.servlet.ServletException;
> import javax.servlet.http.HttpServlet;
> import javax.servlet.http.HttpServletRequest;
> import javax.servlet.http.HttpServletResponse;
>
> import org.apache.commons.fileupload.FileItem; import
> org.apache.commons.fileupload.FileItemFactory;
> import org.apache.commons.fileupload.FileUploadException; import
> org.apache.commons.fileupload.disk.DiskFileItemFactory; import
> org.apache.commons.fileupload.servlet.ServletFileUpload;
> import data.Myconnection;
> import date_time.Server_date_time;
> import func.Database_updatetor_mania;
> import func.Database_updatetor_mania2;
> import func.Helper;
> //
>
> in my uploader.java (uploads xls file and save data to database) and the
> class file editor says that the source for file ServletException.class
> and others cannot be found and i have to change my attached source. I
> downloaded the servlet-api.jar but i don't know exactly where to place
> it in the java directory, and use it in eclipse.
> I'm new at eclipse, :( don't know my way out
> anyways, thanks for reading, hope you'll help

If you have time, skip this article on the relationship between
projects, source code and JAR libraries.

http://www.javahotchocolate.com/tutorials/jar-libraries.html
Re: Class File Editor -Source Not Found [message #793298 is a reply to message #782874] Tue, 07 February 2012 20:19 Go to previous message
Eclipse UserFriend
@Russell Bateman: thank you sir! That sure helped!Smile
I also figured out there are downloadable libraries/class with sources(src) in particular, and I attached them.Works great! Thank you!
Previous Topic:Plugin for eclipse indigo
Next Topic:Eclipse maven
Goto Forum:
  


Current Time: Mon Jul 07 01:48:52 EDT 2025

Powered by FUDForum. Page generated in 1.36193 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top