The intuitive mind is a sacred gift and the rational mind is a faithful servant. We have created a society that honors the servant and has forgotten the gift.
                                - Albert Einstein
 
Пошук
Пошук

 
 
Навігаційне меню
Навігаційне меню
 
 
Проекти
Проекти
 
 
 
 
Size_box_tl   Size_box_tr
 
Unfortunately, there is no translation for this page. We have redirected you to the english version of the site. We are sorry for any inconvenience caused...

java.lang.RuntimeException unable to get class information for @throws tag for an exception

Sometimes for reasons unknown Eclipse start to give errors for project which simply do not make sense. The symptoms are:

1. Errors that say something like:

java.lang.RuntimeException unable to get class information for @throws tag for [an exception]

2. Package declarations are maked red.

 

The cause of this is quite simple: Checkstyle plugin. When it tries to run it does not find some classes and given the above error message.

The solution is quite simple:

1. open the project properties (select project and hit alt+enter or select properties from context menu) and go to "Checkstyle"

2. disable checkstyle (the project will rebuild)

3. enable checkstyle (the project will rebuild)

eclipse checkstyle properties window

And all your errors will go away.

If you have more than one project in your workspace you will need to perform the above procedure for every single one of then (sorry...).

Ця сторінка була оновлена: 07/08/2009 05:23


© Inspire Software, Denys Pavlov, 2005-2012
© Inspire Software, Denys Pavlov, 2005-2012
 
Size_box_bl   Size_box_br