Comment on Tutorial - Java WebService - Create your first web service in Java By Emiley J
Comment Added by : Brian
Comment Added at : 2015-08-05 12:15:37
Comment on Tutorial : Java WebService - Create your first web service in Java By Emiley J
when i try to compile the two files by executing this command ( javac javasamples/one/*.java ) i get
javasamplesoneTimserServer.java:12: error: class TimeServer is public, should
be declared in a file named TimeServer.java
public interface TimeServer {
^
javasamplesoneTimserServerImpl.java:8: error: class TimeServerImpl is public,
should be declared in a file named TimeServerImpl.java
public class TimeServerImpl implements TimeServer {
^
2 errors
please help!
View Tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Related Tutorials
Program using concept of byte long short and int in java
Update contents of a file within a jar file
Tomcat and httpd configured in port 8080 and 80
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program in Java
Calculate gross salary in Java
Calculate average sale of the week in Java
Vector in Java - Sample Program
MultiLevel Inheritance sample in Java
Archived Comments
1. I'm getting the following error even after several
View Tutorial By: Joe85 at 2011-03-18 08:58:04
2. this tutorial example of inheritence is taken from
View Tutorial By: vinod kumar gaur at 2011-07-17 23:18:00
3. good explanation .... Thanks
View Tutorial By: nazeer at 2012-05-24 09:18:19
4. could you please send me a complete appointment re
View Tutorial By: Jaylon aron at 2010-02-21 02:22:57
5. site is very good explanation is very clear throug
View Tutorial By: sridevi at 2013-03-20 15:26:29
6. ' REFERENCIA EN EL PROYECTO (Microsoft Excel 12.0
View Tutorial By: Anonymous at 2015-04-21 03:10:41
7. thanks emily, this was fantastic... just saved me
View Tutorial By: philip at 2010-04-10 20:39:08
8. Good tutorial.
View Tutorial By: Pinky at 2010-03-11 10:42:49
9. HOW TO SET PASSWORD IN JAVA.....
View Tutorial By: NAKUL at 2012-12-14 05:23:16
10. I lit'l modified the above program for main class,
View Tutorial By: Adil khan at 2013-02-12 06:37:17