Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Lost J2EE Perspective
Lost J2EE Perspective [message #139633] Tue, 20 September 2005 12:17 Go to next message
Rob is currently offline RobFriend
Messages: 15
Registered: July 2009
Junior Member
Has anyone else ever lost their J2EE perspective? I am running 3.1 WTP on
an XP OS, and everything else within Eclipse appears to be working
properly. Just when I switch to the J2EE perspective, I get the following
message:

Unable to create view: An unexpected exception was thrown.

The Details state that it's a java.util.ConcurrentModificationException.
I have no idea how to repair this. Any thoughts would be greatly
appreciated.
Re: Lost J2EE Perspective [message #139658 is a reply to message #139633] Tue, 20 September 2005 12:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Laurentd75_nosp_am.yahoo.fr

rob wrote:

> Has anyone else ever lost their J2EE perspective? I am running 3.1 WTP on
> an XP OS, and everything else within Eclipse appears to be working
> properly. Just when I switch to the J2EE perspective, I get the following
> message:
> Unable to create view: An unexpected exception was thrown.

Hi Rob,

Well, it does ring a bell, happended to me quit erecently, unfortunately I
can't remember exactly what was wrong and how I fixed it ...

I think it was me trying to reuse a copy of an old workspace created in
WTP 1.0M3 under WTP 0.7 but am not sure.

In the end I think I had to delete the whole ".metadata" directory of the
workspace to put everything back in order, so perhaps you could try that
(I would actually take a copy of ".metada" by renaming it instead of
removing it, so you can restore it later if needed)

Hope this helps

Laurent
Re: Lost J2EE Perspective [message #139680 is a reply to message #139658] Tue, 20 September 2005 13:23 Go to previous messageGo to next message
Rob is currently offline RobFriend
Messages: 15
Registered: July 2009
Junior Member
Laurent, Thanks so much! I have a few hurdles to clear but your advice
appears to be working. I removed the ".metadata" directory, which gave me
my J2EE perspective back. I put a project back into Eclipse and
everything appears as it should. I did, however, hit an obstacle in that
the application wouldn't fire (404 error) out in Tomcat but I'll get it
figured out.

Thanks again for your prompt assistance!
Re: Lost J2EE Perspective [message #140247 is a reply to message #139658] Thu, 22 September 2005 14:37 Go to previous messageGo to next message
Dan Thurman is currently offline Dan ThurmanFriend
Messages: 57
Registered: July 2009
Member
Are you suggesting getting the WTP 1.0M3 build and overlaying this build
on top of the current eclipse directory? Is there any ramifications for
doing
it this way?

I posted a thread earlier stating that I was having problems with trying to
get
a Dynamic Web Projects import for a WAR file which does not work and
could not decide if I should overlay a build version on top of my existing
eclipse version in fear of losing my current setup.

Thanks -
Dan

"Laurent D" <Laurentd75_nosp_am@yahoo.fr> wrote in message
news:e3358a8410317d533a9d77a10cf10518$1@www.eclipse.org...
> rob wrote:
>
> > Has anyone else ever lost their J2EE perspective? I am running 3.1 WTP
on
> > an XP OS, and everything else within Eclipse appears to be working
> > properly. Just when I switch to the J2EE perspective, I get the
following
> > message:
> > Unable to create view: An unexpected exception was thrown.
>
> Hi Rob,
>
> Well, it does ring a bell, happended to me quit erecently, unfortunately I
> can't remember exactly what was wrong and how I fixed it ...
>
> I think it was me trying to reuse a copy of an old workspace created in
> WTP 1.0M3 under WTP 0.7 but am not sure.
>
> In the end I think I had to delete the whole ".metadata" directory of the
> workspace to put everything back in order, so perhaps you could try that
> (I would actually take a copy of ".metada" by renaming it instead of
> removing it, so you can restore it later if needed)
>
> Hope this helps
>
> Laurent
>
Re: Lost J2EE Perspective [message #140264 is a reply to message #140247] Thu, 22 September 2005 15:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Laurentd75_nosp_am.yahoo.fr

Dan Thurman wrote:

> Are you suggesting getting the WTP 1.0M3 build and overlaying this build
> on top of the current eclipse directory? Is there any ramifications for
> doing
> it this way?

NOOOOOO !!!!! How on earth... I mean, where did you get that weird idea
from ???

I said I had problems reusing an existing Eclipse *workspace* from a
previous version with a newer version, that's all.



> I posted a thread earlier stating that I was having problems with trying to
> get a Dynamic Web Projects import for a WAR file which does not work and
> could not decide if I should overlay a build version on top of my existing
> eclipse version in fear of losing my current setup.

You're talking again of "overlaying builds" here again... I don't know
what you mean exactly, but I'm quite confident you don't want to do what
you mean to do !! ;-)

To put it simply - if you want to upgrade your Eclipse+WTP, do a clean
install of the new version in a *separate* directory.
Then, I'd advise you to create a *new workspace* for the new version, and
then import the projects from the old workspace into the new one, using
the "File > Import > Existing Porjects into workspace" wizard.


> "Laurent D" <Laurentd75_nosp_am@yahoo.fr> wrote in message
> news:e3358a8410317d533a9d77a10cf10518$1@www.eclipse.org...
>> rob wrote:
>>
>> > Has anyone else ever lost their J2EE perspective? I am running 3.1 WTP
> on
>> > an XP OS, and everything else within Eclipse appears to be working
>> > properly. Just when I switch to the J2EE perspective, I get the
> following
>> > message:
>> > Unable to create view: An unexpected exception was thrown.
>>
>> Hi Rob,
>>
>> Well, it does ring a bell, happended to me quit erecently, unfortunately I
>> can't remember exactly what was wrong and how I fixed it ...
>>
>> I think it was me trying to reuse a copy of an old workspace created in
>> WTP 1.0M3 under WTP 0.7 but am not sure.
>>
>> In the end I think I had to delete the whole ".metadata" directory of the
>> workspace to put everything back in order, so perhaps you could try that
>> (I would actually take a copy of ".metada" by renaming it instead of
>> removing it, so you can restore it later if needed)
>>
>> Hope this helps
>>
>> Laurent
>>
Re: Lost J2EE Perspective [message #140274 is a reply to message #140264] Thu, 22 September 2005 16:05 Go to previous message
Dan Thurman is currently offline Dan ThurmanFriend
Messages: 57
Registered: July 2009
Member
Ah.. ok.

The reason why I asked is because I downloaded the JBoss Eclipse version
and I was not sure that their installation of WTP was current - since I was
having problems with the Dynamic Web Projects trying to import a WAR
file that does not work. I thought about getting the WTP 0.7 and overlaying
the contents on TOP of my current eclipse installation so that my issues
might
be fixed.

Dan.

"Laurent D" <Laurentd75_nosp_am@yahoo.fr> wrote in message
news:3f72e74bbb3b45c606f650af7b74c38e$1@www.eclipse.org...
>
>
> Dan Thurman wrote:
>
> > Are you suggesting getting the WTP 1.0M3 build and overlaying this build
> > on top of the current eclipse directory? Is there any ramifications for
> > doing
> > it this way?
>
> NOOOOOO !!!!! How on earth... I mean, where did you get that weird idea
> from ???
>
> I said I had problems reusing an existing Eclipse *workspace* from a
> previous version with a newer version, that's all.
>
>
>
> > I posted a thread earlier stating that I was having problems with trying
to
> > get a Dynamic Web Projects import for a WAR file which does not work and
> > could not decide if I should overlay a build version on top of my
existing
> > eclipse version in fear of losing my current setup.
>
> You're talking again of "overlaying builds" here again... I don't know
> what you mean exactly, but I'm quite confident you don't want to do what
> you mean to do !! ;-)
>
> To put it simply - if you want to upgrade your Eclipse+WTP, do a clean
> install of the new version in a *separate* directory.
> Then, I'd advise you to create a *new workspace* for the new version, and
> then import the projects from the old workspace into the new one, using
> the "File > Import > Existing Porjects into workspace" wizard.
>
>
> > "Laurent D" <Laurentd75_nosp_am@yahoo.fr> wrote in message
> > news:e3358a8410317d533a9d77a10cf10518$1@www.eclipse.org...
> >> rob wrote:
> >>
> >> > Has anyone else ever lost their J2EE perspective? I am running 3.1
WTP
> > on
> >> > an XP OS, and everything else within Eclipse appears to be working
> >> > properly. Just when I switch to the J2EE perspective, I get the
> > following
> >> > message:
> >> > Unable to create view: An unexpected exception was thrown.
> >>
> >> Hi Rob,
> >>
> >> Well, it does ring a bell, happended to me quit erecently,
unfortunately I
> >> can't remember exactly what was wrong and how I fixed it ...
> >>
> >> I think it was me trying to reuse a copy of an old workspace created in
> >> WTP 1.0M3 under WTP 0.7 but am not sure.
> >>
> >> In the end I think I had to delete the whole ".metadata" directory of
the
> >> workspace to put everything back in order, so perhaps you could try
that
> >> (I would actually take a copy of ".metada" by renaming it instead of
> >> removing it, so you can restore it later if needed)
> >>
> >> Hope this helps
> >>
> >> Laurent
> >>
>
>
Previous Topic:Deleted items from WebContent still present in the deployed content
Next Topic:JSP: double quotes
Goto Forum:
  


Current Time: Fri Apr 19 15:56:06 GMT 2024

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

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

Back to the top