Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!

Don Singh

Greenhorn
+ Follow
since Jun 18, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Don Singh

Looking for sites where we can find good struts problems, i mean to design/develop full fledge Struts application.
Please suggest.
9 years ago
Thank You All for enlightening on the topic.
9 years ago
Why - > Want to move to android field from Java.Currentl have 3.5 yrs exp
Where -> Anyhwhere in India , incase we have a very good one in North India its better otherwise can go to Bangalore as well.
No I did not, I am new to this site,should I post there?
9 years ago
I mean , have been developing Java apps for almost 3 yrs now,never used unix shell . Recently heard about a java project requirement in Java xml unix, so was wondering what role unix has here ? The only thing I can think of is probably starting/stopping server....what else we can automate java run process through bat file in Windows, does shell scritping is for unix platforms ? But that would be 2 lines of code then why specifically mentioning Unix, I think there must be more to it ...Please comment
9 years ago
Looking for pointers for best android training in India which can provide job assistance as well
9 years ago
What is the role of shell scripting in Java Programming ?
9 years ago
Its there Naresh,
see d list of files

antlr-2.7.6.jar
commons-collections-3.1.jar
dom4j-1.6.1.jar
hibernate3.jar
hsqldb.jar
javassist.jar
javax.servlet.jar
jta.jar
slf4j-api-1.5.8.jar
slf4j-simple-1.5.6.jar
struts-core-1.3.10.jar
Getting this exception, can someone help as to how to resolve it


HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet.init() for servlet HibernateJavaWorld threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
java.lang.Thread.run(Unknown Source)


root cause

java.lang.NoClassDefFoundError: org/hibernate/MappingException
java.lang.Class.getDeclaredConstructors0(Native Method)
java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
java.lang.Class.getConstructor0(Unknown Source)
java.lang.Class.newInstance0(Unknown Source)
java.lang.Class.newInstance(Unknown Source)
org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:231)
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1142)
org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
javax.servlet.GenericServlet.init(GenericServlet.java:212)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
java.lang.Thread.run(Unknown Source)


root cause

java.lang.ClassNotFoundException: org.hibernate.MappingException
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
java.lang.Class.getDeclaredConstructors0(Native Method)
java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
java.lang.Class.getConstructor0(Unknown Source)
java.lang.Class.newInstance0(Unknown Source)
java.lang.Class.newInstance(Unknown Source)
org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:231)
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1142)
org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
javax.servlet.GenericServlet.init(GenericServlet.java:212)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
java.lang.Thread.run(Unknown Source)


note The full stack trace of the root cause is available in the Apache Tomcat/6.0.28 logs.


--------------------------------------------------------------------------------

Apache Tomcat/6.0.28
@Kr Manish Chand - My point is how to switch to this field so that I get due advantage of my Java exposure and at the same time learn /work on android?
9 years ago
Oops....OK my appologies.
I am new to this forum.

Few of the postings I saw require experience in android with Java Background.
9 years ago
Hi,

I have a descent experience in Java/J2EE ( Core Java,JSP,Struts,Hibernate ) of about 2.5 yrs in [company name removed] and then an year in own company so a total of 3.5 years
I am looking for career options either in Java or may be android. I know basics in android , but really dont have any clue as to how to proceed for Android Jobs,ppl suggesting me
better go for android if you like app coding, as android has more growth.

Please pour in your comments/suggestions.
9 years ago




Answer
third second first snootchy 420
9 years ago
I have used properties before too, but there I had defined values as strings with assignment operator.
Like
DB_LOC=C:/file.db
..
..
.
but here i find the format is

# Error Resources
error.search.criteria.missing=<li>Search Criteria Missing</li>
error.search.ssNum.invalid=<li>Invalid Social Security Number</li>
errors.header=<font color="red"><b>Validation Error(s)</b></font><ul>
errors.footer=</ul><hr width="100%" size="1" noshade="true">

what does these dots mean,how do we reference them from the code?
9 years ago