tag:blogger.com,1999:blog-6080082.post3992639042474340270..comments2023-11-29T08:55:56.402+01:00Comments on Some things to remember: Netbeans: where is the servlet-api?Heikohttp://www.blogger.com/profile/04989356067273734299noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-6080082.post-15163724720432865092008-07-29T14:04:00.000+02:002008-07-29T14:04:00.000+02:00I think you need to delete nbproject/ folder and b...I think you need to delete nbproject/ folder and build.xml file and create new web application with existing sources. (to be on the save side, delete the stuff with the IDE not running)<BR/><BR/>BTW in Maven it would mean changing packaging from "jar" to "war" for the most part.mkleinthttps://www.blogger.com/profile/10220831615555095510noreply@blogger.comtag:blogger.com,1999:blog-6080082.post-49819652281573484062008-07-29T13:40:00.000+02:002008-07-29T13:40:00.000+02:00Milos, that sounds reasonable. But how can I chang...Milos, that sounds reasonable. <BR/><BR/>But how can I change a project from 'SE-project' to 'Web-project' or 'EE-project'? I started x2svg as a pure 'SE' project and added the servlet code only later.Heikohttps://www.blogger.com/profile/04989356067273734299noreply@blogger.comtag:blogger.com,1999:blog-6080082.post-34155697861561892982008-07-29T11:43:00.000+02:002008-07-29T11:43:00.000+02:00I think servlet-api is being put on classpath as p...I think servlet-api is being put on classpath as part of the application server classpath. (when creating new web project, you have to pick an app server). Then all the jars found in the appserver are dumped on your project's classpath.<BR/><BR/>For example maven based projects have a bit of a problem with this setup as well, as the basic maven project doesn't usually have it on classpath, but mkleinthttps://www.blogger.com/profile/10220831615555095510noreply@blogger.com