Webfacet removal problem

Hi (am using 8.0.1),

I got a problem with a project. It is a webproject, a web-facet is automatically recognized. When closing and starting IntelliJ again it tells me: Cannot determine, next is that I have to switch off. To enable it again I need to play around with auto-detection (Module-Settings->clicking check-box off->on) and then web-facet is recognized again. This is highly annoying because I also need to setup the web-container settings again See also attached screenshots.


Has somebody also experienced problems with IntelliJ wrongly removing web-facets after new startup? Maybe it is related that it is a maven project (maven integration so far often was unstable...).

Thanks for help (tell me which log-files could help further).



Attachment(s):
activateAgain.png
removalOfFacets.png
popupAfterStart.png
5 comments
Comment actions Permalink

Please attach ipr and iml files of your project.

Hi (am using 8.0.1),

I got a problem with a project. It is a webproject, a web-facet is automatically recognized. When closing and starting IntelliJ again it tells me: Cannot determine, next is that I have to switch off. To enable it again I need to play around with auto-detection (Module-Settings->clicking check-box of
f->on) and then web-facet is recognized again. This is highly annoying because I also need to setup the web-container settings again See also attached screenshots.


Has somebody also experienced problems with IntelliJ wrongly removing web-facets after new startup? Maybe it is related that it is a maven project (maven integration so far often was unstable...).

Thanks for help (tell me which log-files could help further).

---
Original message URL: http://www.jetbrains.net/devnet/message/5228445#5228445


------------------------------------------------------------------------


------------------------------------------------------------------------


------------------------------------------------------------------------



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

see attachement project files.



Attachment(s):
projectFilesIDEA-20598.zip
0
Comment actions Permalink

Your iml file isn't properly converted from IDEA 6 format. May be some error occurred during conversion.
You can fix the problem either by recreating the module from scratch or by replacing "J2EE_WEB_MODULE" with "JAVA_MODULE" in "type" attribute of the
root tag in kuyo.iml file.

see attachement project files.

---
Original message URL: http://www.jetbrains.net/devnet/message/5228558#5228558



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Weird, I never used IDEA 6, only upgraded from IDEA 7 to 8. But I will give your fix a try.

thanks.

0
Comment actions Permalink

Your hint worked. Changing the attribute makes the project work correctly now. It also solved my other problem (http://www.jetbrains.net/jira/secure/ManageAttachments.jspa?id=208213)

As I said I used IDEA 7 before. Maybe you can have a look and retest transformation of project files form IDEA 7.x to 8.x. Upgrading to newer IDEA should not break modules or force developers to create project from scratch....

thanks.

0

Please sign in to leave a comment.