Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package's name is error #3354

Merged
merged 1 commit into from
Jan 26, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ There's a [README](https://github.com/dubbo/dubbo-samples/blob/master/dubbo-samp
### Define service interfaces

```java
package org.apache.dubbo.demo.api;
package org.apache.dubbo.samples.api;

public interface GreetingService {
String sayHello(String name);
Expand All @@ -85,9 +85,9 @@ public interface GreetingService {
### Implement service interface for the provider

```java
package org.apache.dubbo.demo.provider;
package org.apache.dubbo.samples.provider;

import org.apache.dubbo.demo.GreetingService;
import org.apache.dubbo.samples.api.GreetingService;

public class GreetingServiceImpl implements GreetingService {
public String sayHello(String name) {
Expand All @@ -106,7 +106,7 @@ package org.apache.dubbo.demo.provider;
import com.alibaba.dubbo.config.ApplicationConfig;
import com.alibaba.dubbo.config.RegistryConfig;
import com.alibaba.dubbo.config.ServiceConfig;
import org.apache.dubbo.demo.GreetingService;
import org.apache.dubbo.samples.api.GreetingService;

import java.io.IOException;

Expand Down Expand Up @@ -141,7 +141,7 @@ package org.apache.dubbo.demo.consumer;
import com.alibaba.dubbo.config.ApplicationConfig;
import com.alibaba.dubbo.config.ReferenceConfig;
import com.alibaba.dubbo.config.RegistryConfig;
import org.apache.dubbo.demo.GreetingService;
import org.apache.dubbo.samples.api.GreetingService;

public class Application {
public static void main(String[] args) {
Expand Down