Skip to content

Commit

Permalink
解决了部分依赖问题,jar包版本问题还未解决完
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanggang13 committed Feb 13, 2017
1 parent 4030a55 commit b53e6b1
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# java-examples
source code from book java examples in a nutshell
解决了好多依赖问题,但是还是没解决完,有时间再解决吧,需要看看书里的说明
jdk,jar包版本问题居多

# source README.MD

Expand Down
22 changes: 22 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,27 @@
<artifactId>java-examples</artifactId>
<version>1.0-SNAPSHOT</version>

<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.4</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jsp-api</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.8.0</version>
</dependency>
<dependency>
<groupId>jdom</groupId>
<artifactId>jdom</artifactId>
<version>1.0</version>
</dependency>
</dependencies>

</project>
1 change: 1 addition & 0 deletions src/main/java/org/dean/examples/rmi/MudPlace.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import java.rmi.server.*;
import java.io.*;
import java.util.*;
import org.dean.examples.rmi.Mud.*;

/**
* This class implements the RemoteMudPlace interface and exports a
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/dean/examples/rmi/RemoteBankServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import java.rmi.*;
import java.rmi.server.*;
import java.util.*;
import Bank.*;
import org.dean.examples.rmi.Bank.*;

/**
* This class implements the remote methods defined by the RemoteBank
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import java.io.*;
import java.util.*;
import java.util.Date; // import explicitly to disambiguate from java.sql.Date
import org.dean.examples.rmi.Bank.*;


/**
Expand Down

0 comments on commit b53e6b1

Please sign in to comment.