Migrating from Eclipse to IntelliJ 5.0

I pointed IntelliJ at an existing Eclipse project. Once I figured out that I had to create a web module it started working but still has some problems.

When I open a .jsp it gives the error "Cannot resolve taglib with uri /WEB-INF/struts-bean.tld" for the line

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>

It gives the same error for all taglibs. The .jsp code works so this has to be a problem with the IntelliJ project setup.

IntelliJ also doesn't seem to know what the web/ dir is for in my project. Under project settings I tell it to put the output from my src/ dir in web/WEB-INF/classes, but that dir doesn't show up in the project tree even though it is there in the file system.

Is there a guide to getting IntelliJ projects to work? They don't seem to be very intuitive, and the online help is no help at all. Some kind of guide for Eclipse users would also help.

Thanks.

2 comments
Comment actions Permalink

Some progress.

The Web Module Settings didn't have my web/ dir under Web Resource Directories. When I put it there my .jsp problems went away. For some reason it created a resources/ dir. IntelliJ apparently isn't very smart about figuring out the directory structure of existing projects.

It was also putting my .class files in the exploded/ dir.

Any pointers on how to move from Eclipse to IntelliJ are still appreciated.

0
Comment actions Permalink

You should file an issue for the taglib problem at http://jetbrains.net/jira.
IDEA won't show you your output folder in your source tree, so that's probably
why it doesn't show web/.

Dean Schulze wrote:

I pointed IntelliJ at an existing Eclipse project. Once I figured out that I had to create a web module it started working but still has some problems.

When I open a .jsp it gives the error "Cannot resolve taglib with uri /WEB-INF/struts-bean.tld" for the line

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>

It gives the same error for all taglibs. The .jsp code works so this has to be a problem with the IntelliJ project setup.

IntelliJ also doesn't seem to know what the web/ dir is for in my project. Under project settings I tell it to put the output from my src/ dir in web/WEB-INF/classes, but that dir doesn't show up in the project tree even though it is there in the file system.

Is there a guide to getting IntelliJ projects to work? They don't seem to be very intuitive, and the online help is no help at all. Some kind of guide for Eclipse users would also help.

Thanks.

0

Please sign in to leave a comment.