Home Tutorialhelp Comment I am geeting this type of error, I have also used

 
 

Comment

Avinash
I am geeting this type of error, I have also used,
April 15, 2007 at 11:02 AM

I am geeting this type of error, I have also used the suggestion af this problem given by seeta but can not do this.
I need help urgently so plz help me. I have add all jars.

log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).
log4j:WARN Please initialize the log4j system properly.
/hibernate.cfg.xml not found

View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
JDBC Questions

data type used to store name.(getting an error)
data type used to store name.(getting an error)    Statement stm...); if(rs.next()) { ------- this is the code i have and i am getting an error like dis: "ename cannot be resolved to a variable" whats 

Java Beginners

can i know the error in this code... am unable to run this code
can i know the error in this code... am unable to run this code  ...}; int n=arr.lenght; System.out.println("length of array:"+n); for(int i=0;i System.out.println(arr[i]); } }   You have used incorrect symbol in your 

Java Beginners

I/O Program output error
file, but I am getting incorrect output. I have been successfull with part...I/O Program output error  Hello All, I am working on a program... the total. I also need the pValues to be in decimal format like(#.##), but I can't 

Swing AWT

i am getting an error in adding a menu item to a menu.
i am getting an error in adding a menu item to a menu.   i am not able to execute the menu program. i am getting an error at menu.add(menuitem); it says add method is undefined for type menu. but as far as i know that is only way 

JDBC Questions

I am getting error.How can i get details
I am getting error.How can i get details  Exception in thread "main" java.sql.SQLException: Listener refused the connecti n with the following error... descrip or The Connection descriptor used by the client was: Localhost:1521:orcl 

Java Beginners

Am i convetrting the code right ? - Java Beginners
Am i convetrting the code right ?  C# private void button... (IOException ex) { }// i also tried the code below// try... (PortInUseException ex) { } I have a device on the serial port which has 

Java Beginners

i am unable to identify the error in my code
i am unable to identify the error in my code  class Program { public static void main(String[] args) { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); System.out.println("enter 

Java Beginners

i am unable to identify the error in my code
i am unable to identify the error in my code  class Program { public static void main(String[] args) { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); System.out.println("enter 

RMI Questions

:( I am not getting Problem (RMI)
I am not getting Problem (RMI)  When i am excuting RMI EXAMPLE 3,2 I am getting error daying nested exception and Connect Exception   

Java Beginners

I/O Java
System.out.println(" Error in Concat:"+e); } } }   I am not really sure why...I/O Java  import java.io.File; import java.io.FileNotFoundException... (FileNotFoundException e) { System.out.println(" Error: "+e + " "+ inputFile 

JDBC Questions

i have installed oracle 10g (both ee and xe) editions... while am installing i found port num as 1521 for ee, 1522 for xe
i have installed oracle 10g (both ee and xe) editions... while am installing i found port num as 1521 for ee, 1522 for xe  i have installed oracle 10g (both ee and xe) editions... while am installing i found port num as 1521 

JSP Servlet Questions

i have got error while compiling simple tag handler
i have got error while compiling simple tag handler   ... class   The package you have used javac.servlet.jsp does not exist...;it is : javax.servlet.jsp only but getting error wt is reason 

Hibernate Questions

I am having problem with configuring Hibernate sessionfactory. Please Help
I am having problem with configuring Hibernate sessionfactory. Please Help  Sir, I am having problem with configuring Hibernate sessionfactory.. I was using the old version of Hibernate before now I am using Hibernate

Design concepts & design patterns Questions

I am trying to create domains for column attributes of my data dictionary?
I am trying to create domains for column attributes of my data dictionary?  Please provide me with the best possible solution. I already have... are shared by different fields and also some of the field values have been coded 

Spring Framework Questions

I am getting error org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'IS_AUTHENTICATED_ANONYMOUSLY' is defined - Spring
I am getting error org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'IS_AUTHENTICATED_ANONYMOUSLY' is defined  Hello, I am getting error 

JDBC Questions

i am inserting an image into database but it is showing relative path not absolute path
i am inserting an image into database but it is showing relative path...;</p> <form action="addimage.jsp"> Enter your name:<input type="text" name="sname"><br><br> Upload photo:<input type="file 

Java Beginners

Java I/O Assistance + Loop
CANNOT Get the output as I want. I know where the error lays I just can't seem...Java I/O Assistance + Loop  I'm trying to make this program write file numbers.dat that's accomplished. I'm also trying to make it write all even 

JavaMail Questions

when sending the mail from java I am getting the below error - JavaMail
when sending the mail from java I am getting the below error   when sending the mail from java I am getting the below error : Exception...)); // Add the given addresses to the specified recipient type 

JSP Servlet Questions

i am getting multiple values in listbox
table group by stuname) order by a.name in a subquery multiple recdates i am getting its working fine, but in main query also i am getting multiple name...i am getting multiple values in listbox   hi sir, i am using 

WebSevices Questions

I am from .net background, I want to learn SOA.
I am from .net background, I want to learn SOA.  Hi I am from .net background, I want to learn SOA. Could it possible for me to learn SOA, I suppose SOA includes Java. I dont have knowledge of java. Please help Thanks   

Java Beginners

how to validate javascriptcode n i am attaching file give validations
how to validate javascriptcode n i am attaching file give validations ...://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content...;} </style> <link href="css/style.css" rel="stylesheet" type="text/css 

Java Beginners

how to validate javascriptcode n i am attaching file give validations
how to validate javascriptcode n i am attaching file give validations ...://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content...;} </style> <link href="css/style.css" rel="stylesheet" type="text/css 

Java Beginners

how to validate javascriptcode n i am attaching file give validations
how to validate javascriptcode n i am attaching file give validations ...://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content...;} </style> <link href="css/style.css" rel="stylesheet" type="text/css 

Java Beginners

how to validate javascriptcode n i am attaching file give validations
how to validate javascriptcode n i am attaching file give validations ...://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content...;} </style> <link href="css/style.css" rel="stylesheet" type="text/css 

Java Beginners

how to validate javascriptcode n i am attaching file give validations
how to validate javascriptcode n i am attaching file give validations ...://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content...;} </style> <link href="css/style.css" rel="stylesheet" type="text/css 

WebSevices Questions

i want to resize the tiff file also - WebSevices
i want to resize the tiff file also  if($objFiles['photo']['name...($objFiles['photo']['tmp_name'],"up_images/".$FileName,$objFiles['photo']['type'],180,135); } function resize_image($src,$dest,$type,$new_width,$new 

Java Beginners

Hi ..I am Sakthi.. - Java Beginners
Hi ..I am Sakthi..  can u tell me Some of the packages n Sub Directories starts with... import javax.swing.*; import javax._________;  ... that is available in java and also starts with javax. package HEMAL RAJYAGURU   

Hibernate Questions

I am getting this exception
I am getting this exception   Exception in thread "main" org.hibernate.exception.GenericJDBCException: Cannot open connection at org.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java 

Hibernate Questions

I want to learn hibernate step-by-step.
I want to learn hibernate step-by-step.  Hello, I am very new to programming world and I am looking forward to learn Hibernate, but I would like... Training Introduction to Hibernate 3.0 Complete Hibernate 4.0 Tutorial You can also 

Struts Questions

i am getting the problem when i am downloading the pdf file from oracle 10g database - Struts
i am getting the problem when i am downloading the pdf file from oracle 10g database  if i created the pdf file from pdf machine,it is storing... but it is not downloading .Please help to me.i am getting the below error when downloading 

Hibernate Questions

The type ServiceRegistryBuilder is deprecated
The type ServiceRegistryBuilder is deprecated  I am trying to Create the SessionFactory in Hibernate using following code: Configuration...(serviceRegistry); It's giving the following error: The type ServiceRegistryBuilder 

Hibernate Questions

Hibernate error - Hibernate
Hibernate error  I hava following error while running hibernate example in eclipse. I placed hibernate.cfg.xml and contact.hbm.xml in bin/roseindia/tutorial/hibernate. But I have following error. log4j:WARN No appenders 

Hibernate Questions

jsp-Hibernate Error - Hibernate
jsp-Hibernate Error  hi, my problem is, I designed an Interface where i am tring to listing the all rows of a table using Iterator and putted a link for deleting each row. I am deleteing row using row id of that record.it delete 

Hibernate Questions

java compilation error - Hibernate
java compilation error  hi, i have made an registration page whosevalues should be inserted into database. i have used hibernate and eclipse... exception. actually it is unable to find hibernate.cfg.xml but i have put in it web 

PHP Questions

Am using windows xp os..how to install wamp server for this os ?i have a trouble in this..
Am using windows xp os..how to install wamp server for this os ?i have a trouble in this..  i installed wamp server . i was put my wampserver is online.. but i cant open phpmyadmin in my browser. i dont know the reason.. pls 

Struts Questions

how to store multiple values from drop down in database where i am using java struts 1.3
how to store multiple values from drop down in database where i am using java struts 1.3  hii, i am coding a form where i need a keyskills attribute where i have to select multiple keyskills. but it is taking only one valuee.. i 

General

Java error illegal start of type
Java error illegal start of type       The Java error illegal start of type... start  type, for this we have a class name Illegalstartoftype.Inside 

JavaScript Questions

regular expression expalanation i need
regular expression expalanation i need  hi......... here is my code...(form.email.value)) { document.write("You have entered valid email."); return true... type="text" name="email" size="30"><br> <input type="submit" name 

JavaScript Questions

javascript time with am pm
javascript time with am pm  How can I display current time with AM... in am and pm</title> <script type="text/javascript"> var todayDate=new... seconds=todayDate.getSeconds(); var format ="AM"; if(hours>11) {format="PM 

Hibernate Questions

hibernate...............
hibernate...............  goodevining. I am using hibernate on eclipse, while connection to database Orcale10g geting error .........driver ARNING: SQL Error: 0, SQLState: null 31 May, 2012 8:18:01 PM 

Java-Tutorials

Java I/O From the Command Line
disabled mode. writer() This method is used to get the unique object of type...Java I/O From the Command Line In this section we will learn about the I/O... after taking the input from the command line. Java also supports for the command 

JavaScript Questions

autocomplete(): Spring mvc with jquery: I am not getting correct value in the text filed. Please help me
autocomplete(): Spring mvc with jquery: I am not getting correct value... related birds whenever we give input in the text field. But i am getting the wrong..., the controller is sending request to MultipleRemote.jsp. If whenever i type message 

Hibernate Questions

The method buildServiceRegistry() is undefined for the type ServiceRegistryBuilder
() is undefined for the type ServiceRegistryBuilder" in Hibernate 4.3.1? I am using...; The method buildServiceRegistry() is changed in Hibernate 4.3.1. You have...The method buildServiceRegistry() is undefined for the type 

Hibernate Interview Questions

I have crude application
I have crude application   I have crude application, how to load into this roseindia.net 

Java Beginners

File I/O
File I/O  i am trying to write a program that reads a text file... the text file then read it and write it into as a comma delimitade file. i have... with "tAC" and ends with "->0|0|6" as you shall see in the text file i have 

JDBC Questions

i am inserting an image into database but it is showing relative path not absolute path
i am inserting an image into database but it is showing relative path..."); } catch(Exception e) { System.out.println(e); } %> when i compiled it i got error java.io.filenotfoundexception....... please go through it and help me 

JDBC Questions

i am inserting an image into database but it is showing relative path not absolute path
i am inserting an image into database but it is showing relative path..."); } catch(Exception e) { System.out.println(e); } %> when i compiled it i got error java.io.filenotfoundexception....... please go through it and help me 

RMI Questions

using spring rmi+maven but i am getting this exception
using spring rmi+maven but i am getting this exception  D:\Nexustool... is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception... by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception 

JavaScript Questions

this is my javascript code and i am not understanding the mistake in this,please help me?
this is my javascript code and i am not understanding the mistake...;pre> First Name: <input type="text" name="fname" size="30"><br> Last Name: <input type="text" name 

General

Java I/O Examples
/O streams, Filter streams are also used to manipulate the data... binary I/O operation on primitive data type values ( boolean, char, byte, short...; What is Java I/O? The Java I/O means 

Java Beginners

how to validate javascriptcode n i am attaching file give validations
how to validate javascriptcode n i am attaching file give validations  <%@page import="java.sql.SQLException"%> <%@page import...,true); xmlhttp.send(); } <SCRIPT type="text/javascript"> 

Java Beginners

I have need to help
I have need to help  Write a program that, for four points A, B, C and P, draws a triangle formed by ABC and a small cross showing the position of P; and displays a line of text indicating which of the following three cases 

JDBC Questions

i have problem with classnofounderror
i have problem with classnofounderror   import java.sql.*; public class Tyagi { public static void main (String args[])throws SQLException { ResultSet rs; try { Class.forName 

JDBC Questions

i have problem with classnofounderror
i have problem with classnofounderror   import java.sql.*; public class Tyagi { public static void main (String args[])throws SQLException { ResultSet rs; try { Class.forName 

Hibernate Questions

error in hibernate example
error in hibernate example  i am getting error in this.... log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment). log4j:WARN Please initialize the log4j system properly. Resource: Contact.hbm.xml 

Hibernate Questions

Hibernate - Hibernate
Hibernate  Hai,This is jagadhish.Iam learning Hibernate.I have a doubt in that area plz help me.That is In Hibernate mapping file I used tag for EID column.Eventhough i entered same EID also that is accepting.What is the reson 

Java Beginners

hi .. need help ASAP ..i have a project buit in eclipse , i have installed jasper. i want the steps to work on it ..
hi .. need help ASAP ..i have a project buit in eclipse , i have installed jasper. i want the steps to work on it ..   hi .. need help ASAP ..i have a project buit in eclipse , i have installed jasper. i want the steps to work 

Java Beginners

Array list in Java - arraylist type error
Array list in Java - arraylist type error  I am using Array list in Java but when i compile i get array list type error. Can anyone please explain what is array list type error and why it occurs 

Hibernate Questions

Hibernate error in eclipse
Hibernate error in eclipse   Hi... while running my application i got these type errors...can youme please? Exception in thread "main" java.lang.ExceptionInInitializerError at com.StoreData.main(StoreData.java:11) Caused 

Hibernate Questions

Hibernate error in eclipse
Hibernate error in eclipse   Hi... while running my application i got these type errors...can youme please? Exception in thread "main" java.lang.ExceptionInInitializerError at com.StoreData.main(StoreData.java:11) Caused 

Hibernate Questions

Hibernate error in eclipse
Hibernate error in eclipse   Hi... while running my application i got these type errors...can youme please? Exception in thread "main" java.lang.ExceptionInInitializerError at com.StoreData.main(StoreData.java:11) Caused 

Hibernate Questions

Hibernate error in eclipse
Hibernate error in eclipse   Hi... while running my application i got these type errors...can youme please? Exception in thread "main" java.lang.ExceptionInInitializerError at com.StoreData.main(StoreData.java:11) Caused 

Java Tips and Examples

Error processing
to correct their problem. I recently used a program that produced "Error... Java: Error processing Error in user input or action If the user makes an error in input, give the appropriate feedback, and allow them to correct 

Hibernate Questions

hibernate
hibernate   i am using hibernate3.2.5 and oracle9i. First i set classpath to ojdbc14.jar and all the hibernate jar files to path env variable.After that when i try to execute the program i got an error "unknown oracle major 

JDBC Questions

type mismatch
type mismatch  Statement s= con.createStatement(); this line gives error of "type mismatch" I am using eclips nd new to servlet nd JDBC, Please help me, Thank you 

Hibernate Questions

Hibernate error in eclipse
Hibernate error in eclipse   Hi... while running my application i got these type errors...can youme please? Exception in thread "main... code........ I will try to short out your problem 

Struts Questions

i am Getting Some errors in Struts - Struts
i am Getting Some errors in Struts   I am Learning Struts Basics,I am Trying examples do in this Site Examples.i am getting lot of errors.Please Help me 

JSP Servlet Questions

i have split a string by space ,done some operation and now how to properly order them for sending a mail in java or jsp - JSP-Servlet
the matter while sending it and also i am getting a small font size ,i want medium...i have split a string by space ,done some operation and now how to properly order them for sending a mail in java or jsp  Dear sir, I have 

Hibernate Questions

I need hibernate session factory example.
I need hibernate session factory example.  Hi, I want a simple hibernate session factory example..   hello, Here is a simple Hibernate SessionFactory Example Also go through the Hibernate 4 Thanks 

Java Tips and Examples

Console I/O
Java Notes Console I/O Java was designed for graphical user interfaces (GUI) and industrial strength file and Internet I/O. No attempt was made to have simple input and output facilities like C++'s cin and cout. This isn't 

Java Beginners

error
"+it); } } this is my program i am getting an error saying cannot find symbol class string... Friend, You have done a small mistake. You have defined a String in lower case 

Hibernate Questions

Database Error - Hibernate
Database Error  Hi, I am working with Struts 1.2---- AJAX... by multiple/single users I am getting the following errors. Lock wait timeout...;Hi I am sending u a link where u can find lots of example which helps to solve 

Hibernate Questions

hibernate - Hibernate
hibernate  I have written the following program package Hibernate; import org.hibernate.Session; import org.hibernate.*; import...   Hi Radhika, i think, you hibernate configuration 

Java Beginners

Error
Error  Hi. I am getting error in the following code after the line I have commented as ERROR. How to solve this. Thanks in advance. package...;"); // ERROR out.println(" var pattern 

Java Beginners

Error
Error  Hi. I am getting error in the following code after the line I have commented as ERROR. How to solve this. Thanks in advance. package...;"); // ERROR out.println(" var pattern 

Java Beginners

Error
Error  Hi. I am getting error in the following code after the line I have commented as ERROR. How to solve this. Thanks in advance. package...;"); // ERROR out.println(" var pattern = /^\d{3,5 

Java Beginners

Error
Error  Hi. I am getting error in the following code after the line I have commented as ERROR. How to solve this. Thanks in advance. package...;"); // ERROR out.println(" var pattern 

Java Beginners

I face some problem - Java Beginners
I face some problem  I face some problem in my project plz deepak halp me how can i solve this problem i m using bean and jsp file also. and deployee the using tomcat server plz help me how can i solve thisproblem HTTP Status 

Hibernate Questions

Hibernate error - Hibernate
Hibernate error  I had run hibernate first example but it an error appeared. Error is java.lang.NullPointerException.  Hi Friend... want more examples of Hibernate please visit the following link. http 

Development process Questions

Jsp error when i run this a jsp file
Jsp error when i run this a jsp file  hi I got this error when i run the jsp file in IDE and outside also please help me java.lang.NullPointerException org.apache.jsp.insertjsp.jspInit(insert_jsp.java:22 

Hibernate Questions

java compilation error - Hibernate
java compilation error  hi i am getting org.hibernate.exception.GenericJDBCException: Cannot open connection exception when runnig the code why this exception is coming 

Hibernate Questions

Hibernate code - Hibernate
Hibernate code   I am facing a problem in hibernate program. Error is ::: Error in reading contact.hbm.xml contact.hbm.xml is my hibernate mapping file.  Hi Friend, check whether you have specified correct path 

MySQL

Setting up MySQL Database and Tables
;    I am assuming that you have running instance of MySQL... you should have valid user name and password.  Let's now start by creating the database for our struts- hibernate integration tutorial. Our application 

JavaScript Questions

how do i apply the javascript validation functions to the iframe content?
how do i apply the javascript validation functions to the iframe content?  Hi friends am Yogesh Nandane..Developing a small accessibility evaluation... accessibility errors. I want to apply this startframe function to the frame content 

JavaScript Questions

how do i apply the javascript validation functions to the iframe content?
how do i apply the javascript validation functions to the iframe content?  Hi friends am Yogesh Nandane..Developing a small accessibility evaluation... accessibility errors. I want to apply this startframe function to the frame content 

Java Beginners

Not sure what I am missing ? Any ideas?
Not sure what I am missing ? Any ideas?  import java.util.*; public...) { if(str.length()==0) return false; for(int i=0;i<str.length();i++) if (c==str.charAt(i)); return true 

Java Beginners

i have created interface program for simple arithmetic operation but its show some error can i get reason and mistakes
i have created interface program for simple arithmetic operation but its show some error can i get reason and mistakes  import java.io.*; interface... is your code, we have modified it. import java.io.*; interface arith { int a=5 

Java Beginners

i have created interface program for simple arithmetic operation but its show some error can i get reason and mistakes
i have created interface program for simple arithmetic operation but its show some error can i get reason and mistakes  import java.io.*; interface... is your code, we have modified it. import java.io.*; interface arith { int a=5 

Java Beginners

I have problem in my Project
I have problem in my Project  Dear Sir, i have problem in my project about Jtable i have EDIT JButton whenevery i was click on edit he is display all data from database but i want to select any row 

Spring Framework Questions

i have a problem in spring - Spring
i have a problem in spring  spring Aop: how to configure proxyfactorybean in xml file for providing advices for one particular class 

Hibernate Tutorial Example

Writing First Hibernate Code
or from command prompt as well. I am assuming that you are familiar with MySQL... connection pooling and transaction management is used for simplicity. Hibernate... Writing First Hibernate Code      

Java Beginners

how to make employee i card
how to make employee i card  hello friends can anyone help me.. I have to make a project to make Identity card for employees...but i am facing problems with database and jsp connection ... also tell me how to retrive data 

JSP Servlet Questions

I have doubt in jsp file.
I have doubt in jsp file.  I have doubt in jsp file. In a jsp file, there should be two buttons. One is start and other is stop. When we click on start then only stop should be enabled. Other wise it should be disabled. When 

Hibernate Questions

hibernate
hibernate  Hi Good Morning Will u please send me the some of the tutorials of hibernate.Because ,i have to learn the hibernate.i am new to this its...;Hi Friend, Please visit the following link: http://www.roseindia.net/hibernate 

JavaMail Questions

i have problem in that program - JavaMail
i have problem in that program  1. Write a multi-threaded Java... = pw; } public void run(){ try{ int i; for (i=1;i<10;i++){ int j; for(j=2; j<10; i++) { pw.write(f3+"\n"); f1 = f2 

HTML Questions

I have posted a number of question but no one has answered?
I have posted a number of question but no one has answered?  No one has responded for ten days now. However my first question was answered on the same day. Is there a limit to the number of questions you can ask or am I doing 

Design concepts & design patterns Questions

I have a small problem in my datagridview - Design concepts & design patterns
I have a small problem in my datagridview  i have datagridviewer in c#(platform) and i try that change cell beckground, this cell Should... the backcolor of individual cells please help me. Sorry for My English.(I am 

Java Beginners

Please tell me how I can access a field (data type char) of resultset in a java class
Please tell me how I can access a field (data type char) of resultset in a java class  I have created a table named empdetails in postgreSql 8.4 databse. There is a field named empsex whose data type is char. I have created 

Java Beginners

Can I have multiple main() methods in the same class?
Can I have multiple main() methods in the same class?  Hi, Can I have multiple main() methods in the same class?   Hi, No, We cann't... fails to compile. The Compiler gives error that the main method is already 

Hibernate Questions

Websphere application error - Hibernate
Websphere application error  i have received this following error [10/5/10 13:19:40:592 EDT] 00000043 SystemOut O java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl incompatible 

Advertisements Advertisements
 

 

 

DMCA.com