You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by Glen Mazza <gl...@gmail.com> on 2013/07/12 18:07:08 UTC

Re: How to fix Shiro errors in Eclipse?

Just for the email archives, I just did an mvn clean install, then an 
mvn eclipse:eclipse, and then imported the project via Step #2 here: 
http://www.jroller.com/gmazza/entry/web_service_tutorial#EclipseSetup. 
Worked fine for me.

Glen

On 06/12/2013 07:28 PM, richard@localmed.com wrote:
> In case anyone else runs into this problem, here is how I resolved it.
> Essentially, Eclipse has trouble importing multi-module Maven projects.
>
> First, I discovered that there was a hidden alert dialog underneath the
> restart Eclipse popup when I imported the project.  It read:
> An internal error occurred during: "Updating Maven Project".  Unsupported
> IClasspathEntry kind=4
>
> There are various suggestions of how to fix this in online posts, such as:
> http://thetechnodyne.blogspot.com/2012/09/fixing-error-importing-maven.html
> Unfortunately, once you get this error, various .classpath files start to
> become corrupted, and Eclipse becomes more and more confused, and so none of
> these fixes worked for me
>
> I deleted the projects from Eclipse.  I then manually searched and removed
> all Eclipse-related resources in all subdirectories, including .classpath
> and .project files and .settings subdirectories.  Then I reimported
> everything fresh into Eclipse.  I needed to right-click all
> projects->Maven->Update Project... and then Clean and rebuild multiple
> times.  Eventually, the only errors remaining are a few actual Java
> problems:
>
> These I am not going to worry about.
>
>
>
>
>
> --
> View this message in context: http://shiro-user.582556.n2.nabble.com/How-to-fix-Shiro-errors-in-Eclipse-tp7578835p7578842.html
> Sent from the Shiro User mailing list archive at Nabble.com.