I see that there are many, many posts about the BeerExpert example in the Head First servlets book, but as far as I can tell, none of them have the same problem I'm having. I checked the errata also and didn't see it there.
I'm having trouble compling the BeerExpert java program:
When I try to compile it, I receive this error:
I originally tried this code, which is what is in the book:
Which gave me a similar error, except in line 4 it said "method returns(java.util.List).
One of the posts said you have to specify the data type for Collections in the new version of Java, so I added the <String>, but that still didn't work.