- When ever this type of exception occurs check if jstl.jar is present in /WEB_INF/lib folder.
- Add the jstl.jar to the /WEB_INF/lib folder and restart the sever.This error should disappear.
Hello Everyone, This blog is my notepad :) where i make a note of the new learnings ,issues i have faced with in the real time environment.Hope these posts are helpful :)
Pages
Tuesday, December 31, 2013
java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config
Tuesday, November 26, 2013
java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet
The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
In Eclipse Helios "Java EE Module Dependencies" in the project properties has been replaced with "Deployment Assembly".
In Eclipse Kepler, the way I did it is the following:
- Right click on the project in package explorer and choose "Import..."
- Accept the default selection "File System" and press "Next"
- Press "Browse" in the From directory line, go to your tomcat installation and locate the file webapps/examples/WEB-INF/lib (I have tomcat 6, other versions of Tomcat may have the path webapps/jsp-examples/WEB-INF/lib). Once in the path press OK.
- Click besides jstl.jar and standard.jar to activate the check boxes
- On the line Into folder click on Browse and choose the library folder. I use /lib inside the project.
- Click "Finish"
- Right click on the project in Package Explorer view and choose properties (or press Alt + Enter)
- Click on "Java Build Path"
- Click "Add Jar", click on your project, folder lib, select jstl.jar, standard.jar and press OK
- Click "Add Jar", click on your project, folder lib, select standard.jar, press OK
- Press OK to dismiss the properties dialog
- Right click on it and select "Quick Fix".
- Accept the default "Mark the associated raw classpath entry as a publish/export dependency" and press Finish.
- Do a clean build .The rreors now disappear
Friday, November 22, 2013
How to download youtube videos from firefox
Steps to installer to download the youtube videos
---------------------------------------------------------
1)Click on link to download the add on .
2)Click on Add to Firefox button.This will install the add on to the firefox.
3)Go to youtube and open the video which you want to download .
4)Download link will be available below the video.
5)Click on the small arrow to expand the drop down for more options
6)Happy downloading :)
---------------------------------------------------------
1)Click on link to download the add on .
2)Click on Add to Firefox button.This will install the add on to the firefox.
3)Go to youtube and open the video which you want to download .
4)Download link will be available below the video.
5)Click on the small arrow to expand the drop down for more options
6)Happy downloading :)
Sunday, November 17, 2013
Caused by: org.xml.sax.SAXParseException: The prefix "util" for element "util:list" is not bound.
If you get the following error in while executing a Spring program.Following are the steps to resolve it.
Add the namespaces (the ones that are highlighted below in your spring configuration file)
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util-2.5.xsd">
This will resolve the issue
Add the namespaces (the ones that are highlighted below in your spring configuration file)
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util-2.5.xsd">
This will resolve the issue
Saturday, November 16, 2013
How to generate setters and getters in java -Eclipse
1)Right click on the member variables in the java class for which the setter and getter values need to be generated.
2)Select source->Generate Setters and getters and click on it
3)Tick the variables in the pop up box for which setters and getters are to be generated .See the snapshot below.
4) By clicking on OK the respective methods are generated.
2)Select source->Generate Setters and getters and click on it
3)Tick the variables in the pop up box for which setters and getters are to be generated .See the snapshot below.
4) By clicking on OK the respective methods are generated.
Thursday, October 31, 2013
How to import war files into eclipse
To import war files into eclipse,following are the steps.
- Select File > Import .
- In the Import dialog, select WAR file and then click Next.
- Give the location of WAR file that you want to import using the Browse button.
- The wizard assumes you want to create a new Web project with the same name as the WAR file. If you accept this choice, the project will be created with the same servlet version as specified by the WAR file and in the same location. If you want to override these settings, you can click New and specify your new settings in the Dynamic Web Project wizard.
- Click Finish to complete the set up.
Subscribe to:
Posts (Atom)


