Skip to content
Open
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
2 changes: 1 addition & 1 deletion java-jsp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
<artifactItem>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>5.2.3.RELEASE</version>
<version>6.1.14</version>
Comment on lines 92 to +95
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pom.xml now downloads spring-webmvc-6.1.14.jar, but JasperTest.java:77 still references the old filename:

private final File springJar = Paths.get("target/test-jars/spring-webmvc-5.2.3.RELEASE.jar").toFile();

The downloaded JAR name is derived from the artifact version, so target/test-jars/spring-webmvc-5.2.3.RELEASE.jar will no longer exist — tests at lines 165 and 282 of JasperTest.java will fail with a missing-file error.

Update the path in JasperTest.java to target/test-jars/spring-webmvc-6.1.14.jar.

Suggested change
<artifactItem>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>5.2.3.RELEASE</version>
<version>6.1.14</version>
<artifactItem>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>6.1.14</version>
</artifactItem>
  • Mark as noise

</artifactItem>
<artifactItem>
<groupId>javax</groupId>
Expand Down
Loading