spring boot+opcua記錄,不定期更新問題
阿新 • • 發佈:2018-12-19
spring+opcua 1.new spring boot project 2.new sourcefolder lib 複製opcua相關的lib、jdk/jre/.jar jdk/jre/ext/.jar ; 將lib資料夾下的所有檔案add to class delete logf4相關。 3.pom.xml (熱啟動)
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</optional> </dependency>
4.application.propertities裡 spring.mvc.view.prefix=/templates/ spring.mvc.view.suffix=.html 開發關閉快取 spring.thymeleaf.cache=false 5. /templates/下新建hello.html
=================================