Browse Source

fix:解决编译问题

master
lingjingong 3 years ago
parent
commit
bd9f32db7a
  1. 10
      jt808-server/pom.xml
  2. 1
      jt808-server/src/main/java/com/haidapu/jtserver/JtserverApplication.java
  3. 16
      jt808-server/src/main/java/com/haidapu/jtserver/handler/LocationPackHandler.java
  4. 2
      jtserver-core/src/test/java/com/haidapu/jtserver/HandlerWrapperTest.java

10
jt808-server/pom.xml

@ -50,8 +50,8 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.haidapu.jt</groupId>
<artifactId>jt808-core</artifactId>
<groupId>com.haidapu.jtserver</groupId>
<artifactId>jtserver-core</artifactId>
<version>1.3.2</version> <version>1.3.2</version>
</dependency> </dependency>
@ -84,6 +84,12 @@
<groupId>com.alibaba</groupId> <groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId> <artifactId>druid-spring-boot-starter</artifactId>
</dependency> </dependency>
<dependency>
<groupId>com.haidapu.jtserver</groupId>
<artifactId>jtserver-core</artifactId>
<version>1.3.2</version>
<scope>compile</scope>
</dependency>
</dependencies> </dependencies>
<build> <build>

1
jt808-server/src/main/java/com/haidapu/jtserver/JtserverApplication.java

@ -1,6 +1,5 @@
package com.haidapu.jtserver; package com.haidapu.jtserver;
import com.haidapu.server.jt808.starter.EnableJt808Server;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationType; import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;

16
jt808-server/src/main/java/com/haidapu/jtserver/handler/LocationPackHandler.java

@ -1,14 +1,14 @@
package com.haidapu.jtserver.handler; package com.haidapu.jtserver.handler;
import com.haidapu.jtserver.core.Jt808Pack;
import com.haidapu.jtserver.core.PackHandler;
import com.haidapu.jtserver.entity.LocationAttachInfo;
import com.haidapu.jtserver.entity.LocationInfo;
import com.haidapu.jtserver.helper.Analyzer;
import com.haidapu.jtserver.helper.ByteArrHelper;
import com.haidapu.jtserver.helper.ResHelper;
import com.haidapu.jtserver.service.DataService;
import com.haidapu.jtserver.util.DataHelper; import com.haidapu.jtserver.util.DataHelper;
import com.haidapu.server.jt808.starter.core.Jt808Pack;
import com.haidapu.server.jt808.starter.core.PackHandler;
import com.haidapu.server.jt808.starter.entity.LocationAttachInfo;
import com.haidapu.server.jt808.starter.entity.LocationInfo;
import com.haidapu.server.jt808.starter.helper.Analyzer;
import com.haidapu.server.jt808.starter.helper.ByteArrHelper;
import com.haidapu.server.jt808.starter.helper.ResHelper;
import com.haidapu.server.jt808.starter.service.DataService;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;

2
jtserver-core/src/test/java/com/haidapu/jtserver/HandlerWrapperTest.java

@ -1,4 +1,4 @@
package com.haidapu.server.jt808.starter.core;
package com.haidapu.jtserver;
import com.haidapu.jtserver.config.Const; import com.haidapu.jtserver.config.Const;
import org.junit.Assert; import org.junit.Assert;

Loading…
Cancel
Save