Hi
In JSF I got the error while deploying a JSF Application on tomcat server using eclipse's Run As -- > on a server
SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.NoClassDefFoundError: javax/faces/component/html/HtmlColumn
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:859)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:910)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:379)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:306)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Solution :
The solution for above kind of errors are tricky to find since we will be in a state that we provide jsf jars required to run but still the error props up.
The reason is, in eclise when we run as on a server, server while running the application makes use of the jars which we provide. There might be a case we are missing the libraries provided to the server run-time
please check that and it will be running normal
A Ram Prasad
Sunday, June 20, 2010
Saturday, June 19, 2010
A Beginner's Help Point to JSF Application using Eclipse IDE
Hi All
I started making use of the JSF application components and libraries to develop a web 2.0 UI making use of the latest technologies like Hibernate, Spring
I would like to share my experiences while learning these technologies.
To Start with, We need the following environment and libraries to start a JSF project
Environment :
1) JDK 1.5 or higher is fine
2) Eclipse IDE Eclipse Galileo,better 3.3 or higher version
3) JSF jar files (jsf-api.jar,jsf-impl.jar)
4) Apache Tomcat 6.0.18
5) JSP (tm) Standard Tag Library 1.2 implementation (jstl.jar)
Steps
1) Make the Web Page Editor the default editor for JSP pages
The JSF Tools Project-contributed Web Page Editor (WPE) is NOT registered as the default editor for JSP files. You can make the WPE the default editor for JSP files by following these steps:
• Navigate to "Window" -> "Preferences..." -> "General" -> "Editors" -> "File Associations"
• In the "File types" section, select "*.jsp"
• In the "Associated editors" section, select "Web Page Editor"
• Select the "Default" button
2) Register JSF libraries (jsf-api.jar,jsf-impl.jar)
We will be creating a library containing the Sun JSF Libraries
Select Windows->Preferences->Web and XML->->JavaServer Faces Tools->Libraries. Click on the New.. button to add a new library. Create the JSF Libraries as shown in the following figures

3) In similar fashion register the jstl libraries (jstl.jar)
4) In Eclipse, Create a new dynamic web application and in the options that come on the screen you can select the configuration as JSF v1.2 project which creates some dafult files required for any JSF Application
The screenshot that shows while configuring a dynamic web application is given below:

In a step to select libraries, provide the jsf libraries which we already created in earlier steps. Click Finish
Now the JSF Project Template is ready and you can start writing JSF Applications
Let me know if anyone faces any problem while configuring
more updates to come
Thank You
A Ram Prasad
I started making use of the JSF application components and libraries to develop a web 2.0 UI making use of the latest technologies like Hibernate, Spring
I would like to share my experiences while learning these technologies.
To Start with, We need the following environment and libraries to start a JSF project
Environment :
1) JDK 1.5 or higher is fine
2) Eclipse IDE Eclipse Galileo,better 3.3 or higher version
3) JSF jar files (jsf-api.jar,jsf-impl.jar)
4) Apache Tomcat 6.0.18
5) JSP (tm) Standard Tag Library 1.2 implementation (jstl.jar)
Steps
1) Make the Web Page Editor the default editor for JSP pages
The JSF Tools Project-contributed Web Page Editor (WPE) is NOT registered as the default editor for JSP files. You can make the WPE the default editor for JSP files by following these steps:
• Navigate to "Window" -> "Preferences..." -> "General" -> "Editors" -> "File Associations"
• In the "File types" section, select "*.jsp"
• In the "Associated editors" section, select "Web Page Editor"
• Select the "Default" button
2) Register JSF libraries (jsf-api.jar,jsf-impl.jar)
We will be creating a library containing the Sun JSF Libraries
Select Windows->Preferences->Web and XML->->JavaServer Faces Tools->Libraries. Click on the New.. button to add a new library. Create the JSF Libraries as shown in the following figures
3) In similar fashion register the jstl libraries (jstl.jar)
4) In Eclipse, Create a new dynamic web application and in the options that come on the screen you can select the configuration as JSF v1.2 project which creates some dafult files required for any JSF Application
The screenshot that shows while configuring a dynamic web application is given below:
In a step to select libraries, provide the jsf libraries which we already created in earlier steps. Click Finish
Now the JSF Project Template is ready and you can start writing JSF Applications
Let me know if anyone faces any problem while configuring
more updates to come
Thank You
A Ram Prasad
Labels:
Eclipse IDE,
JSF Project,
Project Configuration
Saturday, June 12, 2010
vipassana meditation
Hi
I was not at all available last 2 weeks.
Decided to go and give a humble and honest effort towards meditation a technique which helps you to know yourself and relax yourself from all your material miseries
Gave myself a full 2 weeks course for a disciplined meditation. attended vipassana meditation , a wonderful technique to know thyself
It is completely a 10-day long residential course
It is a really a wonderful experience and recommend everyone to attend the course
The details are fully available at http://www.dhamma.org/en/schedules/schpaphulla.shtml
I will be updating more and more in coming days
A Ram Prasad
I was not at all available last 2 weeks.
Decided to go and give a humble and honest effort towards meditation a technique which helps you to know yourself and relax yourself from all your material miseries
Gave myself a full 2 weeks course for a disciplined meditation. attended vipassana meditation , a wonderful technique to know thyself
It is completely a 10-day long residential course
It is a really a wonderful experience and recommend everyone to attend the course
The details are fully available at http://www.dhamma.org/en/schedules/schpaphulla.shtml
I will be updating more and more in coming days
A Ram Prasad
Friday, May 28, 2010
Samsung Corby pro review & some tips
Hi
I bought a samsung corby pro mobile recently and like to give my inputs of the same
Firstly, this mobile has nice features infact most features of high-end mobiles available in this phone. A good product from samsung family
corby is going to bring huge profits for samsung in Indian Market
Some Good Features :
1) A lot of widgets
2) Qwerty keypad
3) All available technologies like 3G,GPRS,Wi-Fi
Disadvantages
1) Touch screen not that comfortable.may be it will be same with all high-end phones
2) You get the applications from getjar only and not all the applications are immediately accepted by corby pro
3) Kies software which they provide with kit doesn't seem to work always
These are some tips to make the best use of corby pro
1) set-up wifi connection
Go to Menu-->wifi
tap on wi-fi to enable WIFI signal from your mobile
tap search which searches for wi-fi networks
shows the list of wi-fi connections available
Go to the Network Key and enter the password for wi-fi
select the protocol as HTTP
Save the Details and Connect to Internet adn start browsing
2)There is one uncomfortable feature in corby pro, where the profiles looks like, we can use only samsung provided like Normal,Silent...
In normal sound comes up which may distract you and others. To reduce the sound on the left hand side, the volume up/down can be used to mute the sounds
3)Many might be wondering how to insert the number while sending messages
Tap on messages-->create Message
Tap on the message section where message is typed
Now Tap on the more option --> Insert --> Name card
brings up the contact list to select and gets inserted in the message upon selection
Hope above information helps some of you. see more updates in the future
A Ram Prasad
I bought a samsung corby pro mobile recently and like to give my inputs of the same
Firstly, this mobile has nice features infact most features of high-end mobiles available in this phone. A good product from samsung family
corby is going to bring huge profits for samsung in Indian Market
Some Good Features :
1) A lot of widgets
2) Qwerty keypad
3) All available technologies like 3G,GPRS,Wi-Fi
Disadvantages
1) Touch screen not that comfortable.may be it will be same with all high-end phones
2) You get the applications from getjar only and not all the applications are immediately accepted by corby pro
3) Kies software which they provide with kit doesn't seem to work always
These are some tips to make the best use of corby pro
1) set-up wifi connection
Go to Menu-->wifi
tap on wi-fi to enable WIFI signal from your mobile
tap search which searches for wi-fi networks
shows the list of wi-fi connections available
Go to the Network Key and enter the password for wi-fi
select the protocol as HTTP
Save the Details and Connect to Internet adn start browsing
2)There is one uncomfortable feature in corby pro, where the profiles looks like, we can use only samsung provided like Normal,Silent...
In normal sound comes up which may distract you and others. To reduce the sound on the left hand side, the volume up/down can be used to mute the sounds
3)Many might be wondering how to insert the number while sending messages
Tap on messages-->create Message
Tap on the message section where message is typed
Now Tap on the more option --> Insert --> Name card
brings up the contact list to select and gets inserted in the message upon selection
Hope above information helps some of you. see more updates in the future
A Ram Prasad
Labels:
message settings,
Samsung Corby Pro,
Tips,
volume settings
Sunday, March 15, 2009
Welcome message
Hi Friends , I am happy to finally kick-start the blogging activity which i used to think every time when i access some public blogs which found to be very useful to me. I would also be a author of something and may be helpful to someone in some way. ok..Too much crap intro.. :) The day has arrived and decided to start..
I am not very good at english grammar..kindly ignore and suggest if you find any mistake
This will be a blog where you can find my personal experiences ranging from Location updates,travel,leisure,fun,SocialActivity and so on and also last but not the least some good technical stuff.
Keep watching this blog regularly for some exciting stuff.
I am not very good at english grammar..kindly ignore and suggest if you find any mistake
This will be a blog where you can find my personal experiences ranging from Location updates,travel,leisure,fun,SocialActivity and so on and also last but not the least some good technical stuff.
Keep watching this blog regularly for some exciting stuff.
Subscribe to:
Posts (Atom)