NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

package javax.ejb does not exist
Goto page 1, 2  Next
 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
Scarlet Sphere



Joined: 21 Nov 2011
Posts: 9

PostPosted: Mon Nov 21, 2011 4:21 am    Post subject: package javax.ejb does not exist Reply with quote

Hi,

I am using netbeans to view the source code of an existing project. However, there is a same error in most of the files that says that "package javax.ejb does not exist". How can I solve this problem?
Back to top
Jonathan Spooner
Posted via mailing list.





PostPosted: Mon Nov 21, 2011 10:56 pm    Post subject: package javax.ejb does not exist Reply with quote

Hello,

I would venture a guess and say that your installation of NetBeans does not
have the "EJB and EAR" plugin installed or enabled. To test this guess of
mine, go to Tools > Plugins > Available Plugins and look for the "EJB and
EAR" plugin. If it is not in the Available Plugins tab switch over to the
Installed tab and if it's there make sure that it is enabled (a green check
will be visible in the Active column).

-----Original Message-----
From: Scarlet Sphere [mailto:address-removed]
Sent: November 20, 2011 8:22 PM
To: address-removed
Subject: [nbusers] package javax.ejb does not exist

Hi,

I am using netbeans to view the source code of an existing project. However,
there is a same error in most of the files that says that "package javax.ejb
does not exist". How can I solve this problem?
Back to top
Scarlet Sphere



Joined: 21 Nov 2011
Posts: 9

PostPosted: Tue Nov 22, 2011 4:14 am    Post subject: Reply with quote

You're right, I don;t have it installed. However, now, I have another problem. I want to install it but netbeans won't continue the installation. It has been staying at the 5% mark for over 20 mins. I have restarted it multiple times but it still stops at a certain percentage. What is wrong here?


noprogress.PNG
 Description:
no progress
 Filesize:  46.83 KB
 Viewed:  9021 Time(s)

noprogress.PNG


Back to top
Jonathan Spooner
Posted via mailing list.





PostPosted: Wed Nov 23, 2011 1:57 am    Post subject: package javax.ejb does not exist Reply with quote

Hmm, another guess would be that you need to also install Java Web
Applications plugin although any dependencies should have automatically been
installed as well.

Let me know what version of NetBeans you are using and I will try to
reproduce this issue as well.

-----Original Message-----
From: Scarlet Sphere [mailto:address-removed]
Sent: November 21, 2011 8:14 PM
To: address-removed
Subject: [nbusers] package javax.ejb does not exist

You're right, I don;t have it installed. However, now, I have another
problem. I want to install it but netbeans won't continue the installation.
It has been staying at the 5% mark for over 20 mins. I have restarted it
multiple times but it still stops at a certain percentage. What is wrong
here?




Attachments:
http://forums.netbeans.org//files/noprogress_208.png
Back to top
Scarlet Sphere



Joined: 21 Nov 2011
Posts: 9

PostPosted: Wed Nov 23, 2011 2:18 am    Post subject: Reply with quote

I am using netbeans IDE 7.0.1. The Java Web Application was automatically selected but it still gets stuck at a different percentage everytime and if I cancel and click install again, it will not even move from 0% unless I restart netbeans.


far.PNG
 Description:
 Filesize:  127.79 KB
 Viewed:  9000 Time(s)

far.PNG


Back to top
Jonathan Spooner
Posted via mailing list.





PostPosted: Thu Nov 24, 2011 1:22 am    Post subject: package javax.ejb does not exist Reply with quote

Could you attach your NetBeans log file?

Before you do this, restart NetBeans and go through the same steps you've
done to get to the part where NetBeans hangs at 0%. This way the log will
contain the relevant info. Then shut NetBeans down and grab the log file and
attach it.

To get this file go to your user directory and then
".netbeans/var/log/messages.log". For example on my machine (Win7) the log
files for NetBeans 7.0.1 are located at
"C:\Users\Jonathan\.netbeans\7.0\var\log\messages.log".

If you post this log file I and others may be able to help further.

-----Original Message-----
From: Scarlet Sphere [mailto:address-removed]
Sent: November 22, 2011 6:18 PM
To: address-removed
Subject: [nbusers] package javax.ejb does not exist

I am using netbeans IDE 7.0.1. The Java Web Application was automatically
selected but it still gets stuck at a different percentage everytime and if
I cancel and click install again, it will not even move from 0% unless I
restart netbeans.




Attachments:
http://forums.netbeans.org//files/far_892.png
Back to top
Scarlet Sphere



Joined: 21 Nov 2011
Posts: 9

PostPosted: Thu Nov 24, 2011 4:23 am    Post subject: log file Reply with quote

This is the message file. There is also a messages.log file.1 but it cant be attached. When I close netbeans, it will restart by itself and then I close it again.
Back to top
Scarlet Sphere



Joined: 21 Nov 2011
Posts: 9

PostPosted: Thu Nov 24, 2011 4:27 am    Post subject: Reply with quote

I changed the extension to txt so it can be attached.


msg.txt
 Description:

Download
 Filename:  msg.txt
 Filesize:  29.44 KB
 Downloaded:  62 Time(s)

Back to top
Jonathan Spooner
Posted via mailing list.





PostPosted: Thu Nov 24, 2011 9:50 pm    Post subject: package javax.ejb does not exist Reply with quote

For some reason the log file doesn't include enough info. It doesn't even
include the entire startup process. Not sure what happened there.

Try to do this one more time. Be sure and run through the steps that you've
described above and then shut NetBeans down completely before grabbing the
log file. Before you upload the file make a note of its size and then after
you upload it make sure the same size appears in the " Filesize" row of the
post.

-----Original Message-----
From: Scarlet Sphere [mailto:address-removed]
Sent: November 23, 2011 8:24 PM
To: address-removed
Subject: [nbusers] package javax.ejb does not exist

This is the message file. There is also a messages.log file.1 but it cant be
attached. When I close netbeans, it will restart by itself and then I close
it again.
Back to top
Scarlet Sphere



Joined: 21 Nov 2011
Posts: 9

PostPosted: Fri Nov 25, 2011 6:28 am    Post subject: log Reply with quote

I have done exactly the same and have renamed the extension so it can be attached. The names of the files should be:
messages.log
messages.log.1
messages.log.2

The sizes are the same



messages.log.2.txt
 Description:

Download
 Filename:  messages.log.2.txt
 Filesize:  29.44 KB
 Downloaded:  65 Time(s)


messages.log.1.txt
 Description:

Download
 Filename:  messages.log.1.txt
 Filesize:  40.79 KB
 Downloaded:  101 Time(s)


message.txt
 Description:

Download
 Filename:  message.txt
 Filesize:  29.59 KB
 Downloaded:  50 Time(s)

Back to top
Jonathan Spooner
Posted via mailing list.





PostPosted: Sat Nov 26, 2011 12:23 am    Post subject: package javax.ejb does not exist Reply with quote

Well, one of the logs came through enough to get some exceptions printed
(messages.log.1). It seems that you're having trouble downloading a module.
Just to see if we can work around this, navigate your browser to the URL
below[1] and install the module that is downloaded. To manually install this
module navigate to Tools > Plugins > Downloaded[Tab] and click the Add
Plugins... button. You'll see a lot more modules being listed as
dependencies and that's as expected.

You may run into the same issue with the rest of the modules that need to be
downloaded in which case there is something outside of NetBeans and the
NetBeans update center that is preventing you from downloading any modules
(intermittent connection, virus protection, firewall...).

[1]
http://updates.netbeans.org/netbeans/updates/7.0.1/uc/final/distribution/pat
ch2/enterprise/org-netbeans-modules-j2ee-kit.nbm

-----Original Message-----
From: Scarlet Sphere [mailto:address-removed]
Sent: November 24, 2011 10:28 PM
To: address-removed
Subject: [nbusers] package javax.ejb does not exist

I have done exactly the same and have renamed the extension so it can be
attached. The names of the files should be:
messages.log
messages.log.1
messages.log.2

The sizes are the same




Attachments:
http://forums.netbeans.org//files/messageslog2_617.txt
http://forums.netbeans.org//files/messageslog1_143.txt
http://forums.netbeans.org//files/message_148.txt
Back to top
Scarlet Sphere



Joined: 21 Nov 2011
Posts: 9

PostPosted: Mon Nov 28, 2011 2:00 am    Post subject: link Reply with quote

I tried to go to the link and downloaded it but the same thing happens. It managed to get to 45% then stops.


ee.PNG
 Description:
 Filesize:  108.11 KB
 Viewed:  8872 Time(s)

ee.PNG



messages.log.1.txt
 Description:

Download
 Filename:  messages.log.1.txt
 Filesize:  42.68 KB
 Downloaded:  65 Time(s)


messagess.txt
 Description:

Download
 Filename:  messagess.txt
 Filesize:  31.79 KB
 Downloaded:  50 Time(s)

Back to top
Jonathan Spooner
Posted via mailing list.





PostPosted: Tue Nov 29, 2011 8:43 am    Post subject: package javax.ejb does not exist Reply with quote

Sorry for the late reply, things have been busy. Are you saying that you
successfully downloaded the module and while installing it you were seeing
the same issue? If that is the case then I would guess that the issue is
_not_ related to NetBeans.

The logs that I looked at previously showed that NetBeans was throwing an
exception around the code that was doing the download of the module that I
had you manually download. By downloading this module manually you proved
that the issue was not related directly to this module since you are still
seeing the issue. I would guess that your logs now show the same type of
exception being thrown only with another module.

There is however still a chance that it is related to NetBeans and to test
this idea the only other option open to you is to completely uninstall
NetBeans (removing the settings) and reinstall an freshly downloaded copy.
If you are still having the same issue after a complete reinstall then I
would speculate that the issue is related to something outside of NetBeans
(ISP, local network, firewall, virus protection etc.).

I empathize with your situation as this kind of issue can be very
frustrating.

-----Original Message-----
From: Scarlet Sphere [mailto:address-removed]
Sent: November 27, 2011 6:01 PM
To: address-removed
Subject: [nbusers] package javax.ejb does not exist

I tried to go to the link and downloaded it but the same thing happens. It
managed to get to 45% then stops.




Attachments:
http://forums.netbeans.org//files/messageslog1_218.txt
http://forums.netbeans.org//files/messagess_107.txt
http://forums.netbeans.org//files/ee_746.png
Back to top
Scarlet Sphere



Joined: 21 Nov 2011
Posts: 9

PostPosted: Wed Nov 30, 2011 4:00 am    Post subject: does not exist Reply with quote

I downloaded a new copy which included the Web and EE together with the installation and after activating them, there is still "package javax.ejb does not exist". Also, I can't update any of the plugins as it will get stuck at a certain percentage like before.


pk.PNG
 Description:
 Filesize:  60.49 KB
 Viewed:  8828 Time(s)

pk.PNG


Back to top
Jonathan Spooner
Posted via mailing list.





PostPosted: Thu Dec 01, 2011 12:17 pm    Post subject: package javax.ejb does not exist Reply with quote

Unfortunately you still need the "EJB and EAR" plugin. The "Java Web and EE"
is for a slimmed down version of Java EE called Web Profile which doesn't
include things like EJB but has only a subset of Java EE.

I'm convinced, and I imagine you are too, that the issue is outside of
NetBeans. My suggestion would be to turn off everything that may be getting
in the way such as virus protection, firewall etc. until you're able to
download the plugins from NetBeans.

-----Original Message-----
From: Scarlet Sphere [mailto:address-removed]
Sent: November 29, 2011 8:01 PM
To: address-removed
Subject: [nbusers] package javax.ejb does not exist

I downloaded a new copy which included the Web and EE together with the
installation and after activating them, there is still "package javax.ejb
does not exist". Also, I can't update any of the plugins as it will get
stuck at a certain percentage like before.




Attachments:
http://forums.netbeans.org//files/pk_113.png
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo