Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsnewbie The public type Hello must be defined in its own
https://www.eclipse.org/forums/index.php/mv/msg/237633/720480/#msg_720480
This is the error message I'm getting when I try to do
Chapter09 Part3 from itextpdf.com/examples
I got the "HelloWorld " to work correctly.
Suggestions?
TIA
Steve
]]>S. Mising name2011-08-30T17:05:51-00:00Re: newbie The public type Hello must be defined in its own
https://www.eclipse.org/forums/index.php/mv/msg/237633/720506/#msg_720506
There can be at most one public class in a given .java file and its name
must match that of the file.
On 30/08/2011 10:05 AM, S. wrote:
> The public type Hello must be defined in its own file.
>
> This is the error message I'm getting when I try to do
> Chapter09 Part3 from itextpdf.com/examples
>
> I got the "HelloWorld " to work correctly.
>
> Suggestions?
>
> TIA Steve
>]]>Ed Merks2011-08-30T17:53:43-00:00Re: newbie The public type Hello must be defined in its own
https://www.eclipse.org/forums/index.php/mv/msg/237633/720516/#msg_720516
I had a file called hello.java
and
public class Hello extends HttpServlet {
when I got the error. When I changed it to:
public class hello extends HttpServlet {
my error went away.
Thanks a lot.
]]>S. Mising name2011-08-30T18:39:43-00:00Re: newbie The public type Hello must be defined in its own
https://www.eclipse.org/forums/index.php/mv/msg/237633/720549/#msg_720549
recommended Java style guidelines so better to change the file to
Hello.java.
On 30/08/2011 11:39 AM, S. wrote:
> I think I have it SOLVED.
>
> I had a file called hello.java
> and
>
> public class Hello extends HttpServlet {
>
> when I got the error. When I changed it to:
>
> public class hello extends HttpServlet {
>
> my error went away.
>
> Thanks a lot.
>]]>Ed Merks2011-08-30T19:04:16-00:00