You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

100 lines
17 KiB

mvn : WARNING: A restricted method in java.lang.System has been called
所在位置 行:1 字符: 1
+ mvn spring-boot:run > startup.log 2>&1 ; exit $LASTEXITCODE
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (WARNING: A rest...has been called:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
WARNING: java.lang.System::load has been called by org.fusesource.jansi.internal.JansiLoader in an unnamed module (file:/D:/ma
ven_install/apache-maven-3.9.6/lib/jansi-2.4.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHe
lper (file:/D:/maven_install/apache-maven-3.9.6/lib/guava-32.0.1-jre.jar)
WARNING: Please consider reporting this to the maintainers of class com.google.common.util.concurrent.AbstractFuture$UnsafeAto
micHelper
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------< com.movieratings:movie-data-crawler >-----------------
[INFO] Building movie-data-crawler 1.0-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] >>> spring-boot:2.7.12:run (default-cli) > test-compile @ movie-data-crawler >>>
[INFO]
[INFO] --- resources:3.2.0:resources (default-resources) @ movie-data-crawler ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 1 resource
[INFO] Copying 2 resources
[INFO]
[INFO] --- compiler:3.10.1:compile (default-compile) @ movie-data-crawler ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- resources:3.2.0:testResources (default-testResources) @ movie-data-crawler ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory D:\VisualStudioProgram\VSCodePrograms\JavaLearningProject\project\src\test\resources
[INFO]
[INFO] --- compiler:3.10.1:testCompile (default-testCompile) @ movie-data-crawler ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< spring-boot:2.7.12:run (default-cli) < test-compile @ movie-data-crawler <<<
[INFO]
[INFO]
[INFO] --- spring-boot:2.7.12:run (default-cli) @ movie-data-crawler ---
[INFO] Attaching agents: []
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.7.12)
2026-03-24 17:53:17.318 INFO 42152 --- [ main] c.movieratings.MovieRatingsApplication : Starting MovieRatingsApplication using Java 25.0.2 on DESKTOP-81S27K1 with PID 42152 (D:\VisualStudioProgram\VSCodePrograms\JavaLearningProject\project\target\classes started by admin in D:\VisualStudioProgram\VSCodePrograms\JavaLearningProject\project)
2026-03-24 17:53:17.320 INFO 42152 --- [ main] c.movieratings.MovieRatingsApplication : No active profile set, falling back to 1 default profile: "default"
2026-03-24 17:53:17.646 INFO 42152 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-03-24 17:53:17.683 INFO 42152 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 30 ms. Found 1 JPA repository interfaces.
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by org.apache.tomcat.jni.Library in an unnamed module (file:/C:/Users/admin/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/9.0.75/tomcat-embed-core-9.0.75.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled
2026-03-24 17:53:18.241 INFO 42152 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2026-03-24 17:53:18.248 INFO 42152 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2026-03-24 17:53:18.248 INFO 42152 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.75]
2026-03-24 17:53:18.355 INFO 42152 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2026-03-24 17:53:18.355 INFO 42152 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 994 ms
2026-03-24 17:53:18.382 INFO 42152 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2026-03-24 17:53:18.521 INFO 42152 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2026-03-24 17:53:18.529 INFO 42152 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:moviedb'
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.github.benmanes.caffeine.cache.UnsafeAccess (file:/C:/Users/admin/.m2/repository/com/github/ben-manes/caffeine/caffeine/2.9.3/caffeine-2.9.3.jar)
WARNING: Please consider reporting this to the maintainers of class com.github.benmanes.caffeine.cache.UnsafeAccess
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
2026-03-24 17:53:18.668 INFO 42152 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-03-24 17:53:18.701 INFO 42152 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.6.15.Final
2026-03-24 17:53:18.810 INFO 42152 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
2026-03-24 17:53:18.880 INFO 42152 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2026-03-24 17:53:19.296 INFO 42152 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2026-03-24 17:53:19.302 INFO 42152 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-03-24 17:53:19.628 WARN 42152 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2026-03-24 17:53:19.952 INFO 42152 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''
2026-03-24 17:53:19.957 INFO 42152 --- [ main] c.movieratings.MovieRatingsApplication : Started MovieRatingsApplication in 2.938 seconds (JVM running for 3.289)
>>> 正在进行数据初始化...
正在抓取: https://movie.douban.com/top250?start=0&filter=
正在抓取: https://movie.douban.com/top250?start=25&filter=
正在抓取: https://movie.douban.com/top250?start=50&filter=
正在抓取: https://movie.douban.com/top250?start=75&filter=
>>> 数据初始化完成,共抓取 100 条记录。
>>> 请访问 http://localhost:8080 查看导演排行榜。
2026-03-24 18:26:01.862 WARN 42152 --- [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=29m13s235ms165碌s500ns).
2026-03-24 20:29:12.867 WARN 42152 --- [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=2h3m14s30ms542碌s300ns).
2026-03-24 20:30:10.567 INFO 42152 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2026-03-24 20:30:10.567 INFO 42152 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2026-03-24 20:30:10.569 INFO 42152 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms