This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | compilation error on newly created webapplication | ||
---|---|---|---|
Product: | javacard | Reporter: | lichunzhan <lichunzhan> |
Component: | Java Card | Assignee: | _ tboudreau <tboudreau> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
lichunzhan
2009-12-02 15:11:32 UTC
Works fine for me. Is your platform set up correctly? (you can open Window | Properties and actually see its classpath if you select it in the Services window). "package javax.servlet.http does not exist" suggests that there is nothing or almost nothing on your compile classpath. Do you see errors in the IDE, or only errors when compiling? Could you do the following: - Reproduce this with a cleanly set up platform - Verify that the classpath for that platform is correct in the Properties window - In Tools | Options | Ant, set the verbosity level to Debug, and provide the output when building with those settings I suspect a problem with your configuration (or maybe your RI build's JARs?) - never seen anything like this locally, and I was testing web projects this afternoon on the latest bits. Closing. If you can provide steps to reproduce, reopen. Thanks Tim. It happens only at the compilation time. After I add the api_connected.jar to the project->properties->Dependencies, the problem is gone. The window->Properties is still empty, no classpath shown. I did not do this extra step before. Okay, though you should not need to add the SDK as a runtime dependency. I'm guessing your platform install just got screwed up somehow, though. |