Jeanne Boyarsky wrote:Ajan,
Since you have CVS installed locally, have you tried accessing it via the command line?
Error Validating location: "could not connect to :pserver:username:localhost:D:\repository: Cannot connect to host: Connection refused: connect"
Jaikiran Pai wrote:
...
import javax.persistence.PersistenceContext;
...
public class BookBean implements BookLocal, BookRemote {
This one is missing the @Stateless annotation. Hence its not considered a bean.
Add this:
Peter Johnson wrote:Could you post the source for your entity bean? And the code that is using it, which I assume is the code that is getting the NameNotFoundException. Don't forget to wrap the code in 'code' tags.
Jaikiran Pai wrote:"Aj an"
Please click the "My Private Messages" link (at the top of this page) for a message from JavaRanch.
Ulf Dittmer wrote:Of course it works if you remove those lines - but then it uses the javac compiler. I thought you wanted to use jikes?
Ulf Dittmer wrote:Hello "Ajan Expectations"-
Welcome to JavaRanch.
On your way in you may have missed that we have a policy on screen names here at JavaRanch. It must consist of a first name and a last name, and not be obviously fictitious. Since yours does not conform with it, please take a moment to change it, which you can do using the "My Profile" link at the top of the page.
As to your questions, I haven't tried switching compilers using the "build.compiler" property, but if it takes a Java class name when using the Eclipse compiler, I think it's a safe bet that it would need a class name for using Jikes as well - which doesn't exist, since Jikes is written in C. Something like this works for me: