How to fix classpath.txt in the startup directory no longer supported warning?
Mostrar comentarios más antiguos
I've created Spring Boot Java project and i use Matlab (9.4.0.949201 (R2018a) Update 6, Java 1.8.0_144-b01). After find true version for the project (before this i've got "version of MATLAB Java Package that is not compatible with the version of MCR" error, to solve this problem i've changed my version of Matlab. 2023a -> 2018a). After changing version of Matlab, some errors were fixed. However, i got this error right now.
Warning: classpath.txt in the startup directory no longer supported. See <a href="matlab: helpview([docroot '/techdoc/matlab_external/matlab_external.map'],'java_static_path')">The Static Path</a>.
This is pom.xml:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.8.RELEASE</version>
</parent>
<groupId>com.example</groupId>
<artifactId>demo1</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>demo1</name>
<description>Demo project for Spring Boot</description>
<properties>
<java.version>11</java.version>
<start-class>peridynamics.demoApp</start-class>
<cholSolver.path>C:\Users\user\Desktop\PDTO\pdtopolys\cholSolver.jar</cholSolver.path>
<javabuilder.path>C:\Program Files\MATLAB\R2018a\toolbox\javabuilder\jar\javabuilder.jar</javabuilder.path>
</properties>
<dependencies>
<dependency>
<groupId>com.googlecode.matrix-toolkits-java</groupId>
<artifactId>mtj</artifactId>
<version>1.0.2</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>2.7.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<version>2.7.0</version>
<scope>test</scope>
</dependency>
<!-- Replace hard-coded paths with variables -->
<dependency>
<groupId>peridynamics</groupId>
<artifactId>cholSolver</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${cholSolver.path}</systemPath>
</dependency>
<dependency>
<groupId>com.mathworks</groupId>
<artifactId>javabuilder</artifactId>
<version>R2018a</version>
<scope>system</scope>
<systemPath>${javabuilder.path}</systemPath>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>peridynamics.demoApp</mainClass>
<layout>JAR</layout>
</configuration>
</plugin>
</plugins>
</build>
</project>
How can i solve this problem?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!