Skip to main content



      Home
Home » Newcomers » Newcomers » unknown error
unknown error [message #130009] Mon, 16 January 2006 16:05 Go to next message
Eclipse UserFriend
Originally posted by: mik100.aol.com

Recieving this error, have no idea what it is saying to me:

Exception in thread "main" java.lang.Error: Unresolved compilation
problem:

at
com.redprairie.sal.dao.hibernate.SalHibernateTest.main(SalHi bernateTest.java:16)

What do I make of this? I do I go about looking for a solution? Here is
my code:
package com.redprairie.sal.dao.hibernate;


import org.hibernate.*;
import com.redprairie.sal.core.SalClient;
import com.redprairie.sal.core.SalAddress;
import com.redprairie.sal.dao.SalDAOFactory;
import com.redprairie.sal.dao.SalClientDAO;
//import java.lang.reflect.InvocationTargetException;;


public class SalHibernateTest {


public static void main(String[] args) {

SalDAOFactory salDAOFactory = SalDAOFactory.getSalFactory();
SalClientDAO clientDAO = salDAOFactory.getSalClientDAO();
SalClient client = clientDAO.read("A0000"); //there is a client
//with an ID of’----‘
String id = client.getClientID();
System.out.println("This is the id: "+id);

}

public static Session _ses;
public static SalAddress _order;

}
Re: unknown error [message #130118 is a reply to message #130009] Tue, 17 January 2006 11:58 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

mike i wrote:
> Recieving this error, have no idea what it is saying to me:
>
> Exception in thread "main" java.lang.Error: Unresolved compilation problem:
> at
> com.redprairie.sal.dao.hibernate.SalHibernateTest.main(SalHi bernateTest.java:16)
>
>
> What do I make of this? I do I go about looking for a solution? Here
> is my code:

Does the message "Unresolved compilation problem" not give you a hint?
Your code, for some reason, is not compiled. That fact should be evident
in Eclipse by various compile error indicators - red underlines in the
text of the source file, item(s) in the Problems view, red X icons next
to the file/class name in Package Explorer, etc.

HTH,
Eric
Previous Topic:running apps with args
Next Topic:ECLIPSE.EXE
Goto Forum:
  


Current Time: Thu May 08 01:33:42 EDT 2025

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

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

Back to the top