M2 J2EE Perspective Stops Showing Project [message #61180] |
Wed, 05 January 2005 07:13  |
Eclipse User |
|
|
|
Originally posted by: jrduncans.stephenduncanjr.com
I'll file the bug in Bugzilla, but, for anyone who sees the same problem:
In the J2EE perspective, in the package explorer view, there is a new
filter: "Jar-file filter". If you enable this, you'll note that it
doesn't have any effect. If you leave the option turned on, and restart
Eclipse, your project will no longer show in this view, though it will
still show in the Java perspective view. Simply uncheck the Jar-file
filter again and restart, and things will work correctly again.
This is caused by a ClassNotFoundException:
!ENTRY org.eclipse.core.runtime 4 1 2005-01-04 11:56:14.90
!MESSAGE Plug-in org.eclipse.jst.common.navigator.java was unable to
load class org.eclipse.jst.common.navigator.internal.plugin.JarFileFilt er.
!STACK 0
java.lang.ClassNotFoundException:
org.eclipse.jst.common.navigator.internal.plugin.JarFileFilt er
-Stephen Duncan Jr
|
|
|
Re: M2 J2EE Perspective Stops Showing Project [message #61295 is a reply to message #61180] |
Wed, 05 January 2005 09:59   |
Eclipse User |
|
|
|
Hi Stephen,
Thanks for pointing this out. This should be a simple fix. If you would
like to make the change in your own environment before the fix makes it into
a build, you can update the plugin.xml of
org.eclipse.jst.common.navigator.java. You will find a section in the
plugin.xml that looks like the following:
<!-- Java Filters -->
<extension
point="org.eclipse.wst.common.navigator.views.navigatorFilter ">
<navigatorFilter
description="%JAR_FILE_FILTER_DESC"
enabledByDefault="false"
className=" org.eclipse.jst.common.navigator.internal.plugin.JarFileFilt er "
navigatorExtensionId="org.eclipse.jdt.ui.javaContent"
name="%JAR_FILE_FILTER"
id=" org.eclipse.jst.common.navigator.internal.java.JavaNavigator ContentExten
sion.jarFilter"
viewId="org.eclipse.wst.navigator.ui.WTPCommonNavigator">
</navigatorFilter>
</extension>
Change the className to
" org.eclipse.jst.common.navigator.internal.java.JarFileFilter ". This should
fix your problem. We have several little errors like these due to the myriad
of renames that the source underwent in preparation for the open source
effort. Thank you for your help in tracking these down.
Kind Regards,
Michael D. Elder
"Stephen Duncan Jr" <jrduncans@stephenduncanjr.com> wrote in message
news:crglmf$478$1@www.eclipse.org...
> I'll file the bug in Bugzilla, but, for anyone who sees the same problem:
>
> In the J2EE perspective, in the package explorer view, there is a new
> filter: "Jar-file filter". If you enable this, you'll note that it
> doesn't have any effect. If you leave the option turned on, and restart
> Eclipse, your project will no longer show in this view, though it will
> still show in the Java perspective view. Simply uncheck the Jar-file
> filter again and restart, and things will work correctly again.
>
> This is caused by a ClassNotFoundException:
>
> !ENTRY org.eclipse.core.runtime 4 1 2005-01-04 11:56:14.90
> !MESSAGE Plug-in org.eclipse.jst.common.navigator.java was unable to
> load class org.eclipse.jst.common.navigator.internal.plugin.JarFileFilt er.
> !STACK 0
> java.lang.ClassNotFoundException:
> org.eclipse.jst.common.navigator.internal.plugin.JarFileFilt er
>
> -Stephen Duncan Jr
|
|
|
Re: M2 J2EE Perspective Stops Showing Project [message #61398 is a reply to message #61295] |
Wed, 05 January 2005 10:31  |
Eclipse User |
|
|
|
Originally posted by: jrduncans.stephenduncanjr.com
No problem. By the way, I put this into bugzilla as Bug 82233
https://bugs.eclipse.org/bugs/show_bug.cgi?id=82233
Thanks for the quick fix. After making the change and restarting
eclipse with the -clean option, it works great.
-Stephen Duncan Jr
Michael D. Elder wrote:
> Hi Stephen,
>
> Thanks for pointing this out. This should be a simple fix. If you would
> like to make the change in your own environment before the fix makes it into
> a build, you can update the plugin.xml of
> org.eclipse.jst.common.navigator.java. You will find a section in the
> plugin.xml that looks like the following:
>
> <!-- Java Filters -->
> <extension
> point="org.eclipse.wst.common.navigator.views.navigatorFilter ">
> <navigatorFilter
> description="%JAR_FILE_FILTER_DESC"
> enabledByDefault="false"
>
> className=" org.eclipse.jst.common.navigator.internal.plugin.JarFileFilt er "
> navigatorExtensionId="org.eclipse.jdt.ui.javaContent"
> name="%JAR_FILE_FILTER"
>
> id=" org.eclipse.jst.common.navigator.internal.java.JavaNavigator ContentExten
> sion.jarFilter"
> viewId="org.eclipse.wst.navigator.ui.WTPCommonNavigator">
> </navigatorFilter>
> </extension>
>
> Change the className to
> " org.eclipse.jst.common.navigator.internal.java.JarFileFilter ". This should
> fix your problem. We have several little errors like these due to the myriad
> of renames that the source underwent in preparation for the open source
> effort. Thank you for your help in tracking these down.
>
> Kind Regards,
>
> Michael D. Elder
>
> "Stephen Duncan Jr" <jrduncans@stephenduncanjr.com> wrote in message
> news:crglmf$478$1@www.eclipse.org...
>
>>I'll file the bug in Bugzilla, but, for anyone who sees the same problem:
>>
>>In the J2EE perspective, in the package explorer view, there is a new
>>filter: "Jar-file filter". If you enable this, you'll note that it
>>doesn't have any effect. If you leave the option turned on, and restart
>>Eclipse, your project will no longer show in this view, though it will
>>still show in the Java perspective view. Simply uncheck the Jar-file
>>filter again and restart, and things will work correctly again.
>>
>>This is caused by a ClassNotFoundException:
>>
>>!ENTRY org.eclipse.core.runtime 4 1 2005-01-04 11:56:14.90
>>!MESSAGE Plug-in org.eclipse.jst.common.navigator.java was unable to
>>load class org.eclipse.jst.common.navigator.internal.plugin.JarFileFilt er.
>>!STACK 0
>>java.lang.ClassNotFoundException:
>> org.eclipse.jst.common.navigator.internal.plugin.JarFileFilt er
>>
>>-Stephen Duncan Jr
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03466 seconds