Reputation: 11835
I try to compile Select.java servlet from Mac terminal with the following command;
MyComputer-iMac:src name$ javac -Xlint:unchecked
-classpath /Users/name/Development/apache-tomcat-6.0.35/lib
/servlet-api.jar:classes:.com/web/Select.java
and I get this error;
com/web/Select.java:18: cannot find symbol
symbol : class List
location: class com.web.Select
List result=be.getBrands(color);
^
I have imported java.io in my Select class.
Upvotes: 0
Views: 60