diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index e3795c5..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-!/target/
-!/mvnw
-!/mvnw.cmd
-!/.mvn/
-!/src/main/resources/jdbc.properties
-!/service-logs/
diff --git a/.mvn/wrapper/maven-wrapper.jar b/.mvn/wrapper/maven-wrapper.jar
deleted file mode 100644
index cb28b0e..0000000
Binary files a/.mvn/wrapper/maven-wrapper.jar and /dev/null differ
diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties
deleted file mode 100644
index e70e7bc..0000000
--- a/.mvn/wrapper/maven-wrapper.properties
+++ /dev/null
@@ -1,2 +0,0 @@
-distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip
-wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
diff --git a/HELP.md b/HELP.md
deleted file mode 100644
index a86a5ab..0000000
--- a/HELP.md
+++ /dev/null
@@ -1,22 +0,0 @@
-# Getting Started
-
-### Reference Documentation
-
-For further reference, please consider the following sections:
-
-* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html)
-* [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/3.2.5/maven-plugin/reference/html/)
-* [Create an OCI image](https://docs.spring.io/spring-boot/docs/3.2.5/maven-plugin/reference/html/#build-image)
-* [MyBatis Framework](https://mybatis.org/spring-boot-starter/mybatis-spring-boot-autoconfigure/)
-* [Spring Web](https://docs.spring.io/spring-boot/docs/3.2.5/reference/htmlsingle/index.html#web)
-
-### Guides
-
-The following guides illustrate how to use some features concretely:
-
-* [MyBatis Quick Start](https://github.com/mybatis/spring-boot-starter/wiki/Quick-Start)
-* [Accessing data with MySQL](https://spring.io/guides/gs/accessing-data-mysql/)
-* [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/)
-* [Serving Web Content with Spring MVC](https://spring.io/guides/gs/serving-web-content/)
-* [Building REST services with Spring](https://spring.io/guides/tutorials/rest/)
-
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..261eeb9
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,201 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..4261fee
--- /dev/null
+++ b/README.md
@@ -0,0 +1 @@
+# springBootExample
\ No newline at end of file
diff --git a/mvnw b/mvnw
deleted file mode 100755
index 66df285..0000000
--- a/mvnw
+++ /dev/null
@@ -1,308 +0,0 @@
-#!/bin/sh
-# ----------------------------------------------------------------------------
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# https://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-# ----------------------------------------------------------------------------
-
-# ----------------------------------------------------------------------------
-# Apache Maven Wrapper startup batch script, version 3.2.0
-#
-# Required ENV vars:
-# ------------------
-# JAVA_HOME - location of a JDK home dir
-#
-# Optional ENV vars
-# -----------------
-# MAVEN_OPTS - parameters passed to the Java VM when running Maven
-# e.g. to debug Maven itself, use
-# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
-# MAVEN_SKIP_RC - flag to disable loading of mavenrc files
-# ----------------------------------------------------------------------------
-
-if [ -z "$MAVEN_SKIP_RC" ] ; then
-
- if [ -f /usr/local/etc/mavenrc ] ; then
- . /usr/local/etc/mavenrc
- fi
-
- if [ -f /etc/mavenrc ] ; then
- . /etc/mavenrc
- fi
-
- if [ -f "$HOME/.mavenrc" ] ; then
- . "$HOME/.mavenrc"
- fi
-
-fi
-
-# OS specific support. $var _must_ be set to either true or false.
-cygwin=false;
-darwin=false;
-mingw=false
-case "$(uname)" in
- CYGWIN*) cygwin=true ;;
- MINGW*) mingw=true;;
- Darwin*) darwin=true
- # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
- # See https://developer.apple.com/library/mac/qa/qa1170/_index.html
- if [ -z "$JAVA_HOME" ]; then
- if [ -x "/usr/libexec/java_home" ]; then
- JAVA_HOME="$(/usr/libexec/java_home)"; export JAVA_HOME
- else
- JAVA_HOME="/Library/Java/Home"; export JAVA_HOME
- fi
- fi
- ;;
-esac
-
-if [ -z "$JAVA_HOME" ] ; then
- if [ -r /etc/gentoo-release ] ; then
- JAVA_HOME=$(java-config --jre-home)
- fi
-fi
-
-# For Cygwin, ensure paths are in UNIX format before anything is touched
-if $cygwin ; then
- [ -n "$JAVA_HOME" ] &&
- JAVA_HOME=$(cygpath --unix "$JAVA_HOME")
- [ -n "$CLASSPATH" ] &&
- CLASSPATH=$(cygpath --path --unix "$CLASSPATH")
-fi
-
-# For Mingw, ensure paths are in UNIX format before anything is touched
-if $mingw ; then
- [ -n "$JAVA_HOME" ] && [ -d "$JAVA_HOME" ] &&
- JAVA_HOME="$(cd "$JAVA_HOME" || (echo "cannot cd into $JAVA_HOME."; exit 1); pwd)"
-fi
-
-if [ -z "$JAVA_HOME" ]; then
- javaExecutable="$(which javac)"
- if [ -n "$javaExecutable" ] && ! [ "$(expr "\"$javaExecutable\"" : '\([^ ]*\)')" = "no" ]; then
- # readlink(1) is not available as standard on Solaris 10.
- readLink=$(which readlink)
- if [ ! "$(expr "$readLink" : '\([^ ]*\)')" = "no" ]; then
- if $darwin ; then
- javaHome="$(dirname "\"$javaExecutable\"")"
- javaExecutable="$(cd "\"$javaHome\"" && pwd -P)/javac"
- else
- javaExecutable="$(readlink -f "\"$javaExecutable\"")"
- fi
- javaHome="$(dirname "\"$javaExecutable\"")"
- javaHome=$(expr "$javaHome" : '\(.*\)/bin')
- JAVA_HOME="$javaHome"
- export JAVA_HOME
- fi
- fi
-fi
-
-if [ -z "$JAVACMD" ] ; then
- if [ -n "$JAVA_HOME" ] ; then
- if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
- # IBM's JDK on AIX uses strange locations for the executables
- JAVACMD="$JAVA_HOME/jre/sh/java"
- else
- JAVACMD="$JAVA_HOME/bin/java"
- fi
- else
- JAVACMD="$(\unset -f command 2>/dev/null; \command -v java)"
- fi
-fi
-
-if [ ! -x "$JAVACMD" ] ; then
- echo "Error: JAVA_HOME is not defined correctly." >&2
- echo " We cannot execute $JAVACMD" >&2
- exit 1
-fi
-
-if [ -z "$JAVA_HOME" ] ; then
- echo "Warning: JAVA_HOME environment variable is not set."
-fi
-
-# traverses directory structure from process work directory to filesystem root
-# first directory with .mvn subdirectory is considered project base directory
-find_maven_basedir() {
- if [ -z "$1" ]
- then
- echo "Path not specified to find_maven_basedir"
- return 1
- fi
-
- basedir="$1"
- wdir="$1"
- while [ "$wdir" != '/' ] ; do
- if [ -d "$wdir"/.mvn ] ; then
- basedir=$wdir
- break
- fi
- # workaround for JBEAP-8937 (on Solaris 10/Sparc)
- if [ -d "${wdir}" ]; then
- wdir=$(cd "$wdir/.." || exit 1; pwd)
- fi
- # end of workaround
- done
- printf '%s' "$(cd "$basedir" || exit 1; pwd)"
-}
-
-# concatenates all lines of a file
-concat_lines() {
- if [ -f "$1" ]; then
- # Remove \r in case we run on Windows within Git Bash
- # and check out the repository with auto CRLF management
- # enabled. Otherwise, we may read lines that are delimited with
- # \r\n and produce $'-Xarg\r' rather than -Xarg due to word
- # splitting rules.
- tr -s '\r\n' ' ' < "$1"
- fi
-}
-
-log() {
- if [ "$MVNW_VERBOSE" = true ]; then
- printf '%s\n' "$1"
- fi
-}
-
-BASE_DIR=$(find_maven_basedir "$(dirname "$0")")
-if [ -z "$BASE_DIR" ]; then
- exit 1;
-fi
-
-MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"}; export MAVEN_PROJECTBASEDIR
-log "$MAVEN_PROJECTBASEDIR"
-
-##########################################################################################
-# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
-# This allows using the maven wrapper in projects that prohibit checking in binary data.
-##########################################################################################
-wrapperJarPath="$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar"
-if [ -r "$wrapperJarPath" ]; then
- log "Found $wrapperJarPath"
-else
- log "Couldn't find $wrapperJarPath, downloading it ..."
-
- if [ -n "$MVNW_REPOURL" ]; then
- wrapperUrl="$MVNW_REPOURL/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar"
- else
- wrapperUrl="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar"
- fi
- while IFS="=" read -r key value; do
- # Remove '\r' from value to allow usage on windows as IFS does not consider '\r' as a separator ( considers space, tab, new line ('\n'), and custom '=' )
- safeValue=$(echo "$value" | tr -d '\r')
- case "$key" in (wrapperUrl) wrapperUrl="$safeValue"; break ;;
- esac
- done < "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.properties"
- log "Downloading from: $wrapperUrl"
-
- if $cygwin; then
- wrapperJarPath=$(cygpath --path --windows "$wrapperJarPath")
- fi
-
- if command -v wget > /dev/null; then
- log "Found wget ... using wget"
- [ "$MVNW_VERBOSE" = true ] && QUIET="" || QUIET="--quiet"
- if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
- wget $QUIET "$wrapperUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath"
- else
- wget $QUIET --http-user="$MVNW_USERNAME" --http-password="$MVNW_PASSWORD" "$wrapperUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath"
- fi
- elif command -v curl > /dev/null; then
- log "Found curl ... using curl"
- [ "$MVNW_VERBOSE" = true ] && QUIET="" || QUIET="--silent"
- if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
- curl $QUIET -o "$wrapperJarPath" "$wrapperUrl" -f -L || rm -f "$wrapperJarPath"
- else
- curl $QUIET --user "$MVNW_USERNAME:$MVNW_PASSWORD" -o "$wrapperJarPath" "$wrapperUrl" -f -L || rm -f "$wrapperJarPath"
- fi
- else
- log "Falling back to using Java to download"
- javaSource="$MAVEN_PROJECTBASEDIR/.mvn/wrapper/MavenWrapperDownloader.java"
- javaClass="$MAVEN_PROJECTBASEDIR/.mvn/wrapper/MavenWrapperDownloader.class"
- # For Cygwin, switch paths to Windows format before running javac
- if $cygwin; then
- javaSource=$(cygpath --path --windows "$javaSource")
- javaClass=$(cygpath --path --windows "$javaClass")
- fi
- if [ -e "$javaSource" ]; then
- if [ ! -e "$javaClass" ]; then
- log " - Compiling MavenWrapperDownloader.java ..."
- ("$JAVA_HOME/bin/javac" "$javaSource")
- fi
- if [ -e "$javaClass" ]; then
- log " - Running MavenWrapperDownloader.java ..."
- ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$wrapperUrl" "$wrapperJarPath") || rm -f "$wrapperJarPath"
- fi
- fi
- fi
-fi
-##########################################################################################
-# End of extension
-##########################################################################################
-
-# If specified, validate the SHA-256 sum of the Maven wrapper jar file
-wrapperSha256Sum=""
-while IFS="=" read -r key value; do
- case "$key" in (wrapperSha256Sum) wrapperSha256Sum=$value; break ;;
- esac
-done < "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.properties"
-if [ -n "$wrapperSha256Sum" ]; then
- wrapperSha256Result=false
- if command -v sha256sum > /dev/null; then
- if echo "$wrapperSha256Sum $wrapperJarPath" | sha256sum -c > /dev/null 2>&1; then
- wrapperSha256Result=true
- fi
- elif command -v shasum > /dev/null; then
- if echo "$wrapperSha256Sum $wrapperJarPath" | shasum -a 256 -c > /dev/null 2>&1; then
- wrapperSha256Result=true
- fi
- else
- echo "Checksum validation was requested but neither 'sha256sum' or 'shasum' are available."
- echo "Please install either command, or disable validation by removing 'wrapperSha256Sum' from your maven-wrapper.properties."
- exit 1
- fi
- if [ $wrapperSha256Result = false ]; then
- echo "Error: Failed to validate Maven wrapper SHA-256, your Maven wrapper might be compromised." >&2
- echo "Investigate or delete $wrapperJarPath to attempt a clean download." >&2
- echo "If you updated your Maven version, you need to update the specified wrapperSha256Sum property." >&2
- exit 1
- fi
-fi
-
-MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
-
-# For Cygwin, switch paths to Windows format before running java
-if $cygwin; then
- [ -n "$JAVA_HOME" ] &&
- JAVA_HOME=$(cygpath --path --windows "$JAVA_HOME")
- [ -n "$CLASSPATH" ] &&
- CLASSPATH=$(cygpath --path --windows "$CLASSPATH")
- [ -n "$MAVEN_PROJECTBASEDIR" ] &&
- MAVEN_PROJECTBASEDIR=$(cygpath --path --windows "$MAVEN_PROJECTBASEDIR")
-fi
-
-# Provide a "standardized" way to retrieve the CLI args that will
-# work with both Windows and non-Windows executions.
-MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $*"
-export MAVEN_CMD_LINE_ARGS
-
-WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
-
-# shellcheck disable=SC2086 # safe args
-exec "$JAVACMD" \
- $MAVEN_OPTS \
- $MAVEN_DEBUG_OPTS \
- -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
- "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
- ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"
diff --git a/mvnw.cmd b/mvnw.cmd
deleted file mode 100644
index 95ba6f5..0000000
--- a/mvnw.cmd
+++ /dev/null
@@ -1,205 +0,0 @@
-@REM ----------------------------------------------------------------------------
-@REM Licensed to the Apache Software Foundation (ASF) under one
-@REM or more contributor license agreements. See the NOTICE file
-@REM distributed with this work for additional information
-@REM regarding copyright ownership. The ASF licenses this file
-@REM to you under the Apache License, Version 2.0 (the
-@REM "License"); you may not use this file except in compliance
-@REM with the License. You may obtain a copy of the License at
-@REM
-@REM https://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing,
-@REM software distributed under the License is distributed on an
-@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-@REM KIND, either express or implied. See the License for the
-@REM specific language governing permissions and limitations
-@REM under the License.
-@REM ----------------------------------------------------------------------------
-
-@REM ----------------------------------------------------------------------------
-@REM Apache Maven Wrapper startup batch script, version 3.2.0
-@REM
-@REM Required ENV vars:
-@REM JAVA_HOME - location of a JDK home dir
-@REM
-@REM Optional ENV vars
-@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
-@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending
-@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
-@REM e.g. to debug Maven itself, use
-@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
-@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
-@REM ----------------------------------------------------------------------------
-
-@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
-@echo off
-@REM set title of command window
-title %0
-@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
-@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
-
-@REM set %HOME% to equivalent of $HOME
-if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
-
-@REM Execute a user defined script before this one
-if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
-@REM check for pre script, once with legacy .bat ending and once with .cmd ending
-if exist "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %*
-if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd" %*
-:skipRcPre
-
-@setlocal
-
-set ERROR_CODE=0
-
-@REM To isolate internal variables from possible post scripts, we use another setlocal
-@setlocal
-
-@REM ==== START VALIDATION ====
-if not "%JAVA_HOME%" == "" goto OkJHome
-
-echo.
-echo Error: JAVA_HOME not found in your environment. >&2
-echo Please set the JAVA_HOME variable in your environment to match the >&2
-echo location of your Java installation. >&2
-echo.
-goto error
-
-:OkJHome
-if exist "%JAVA_HOME%\bin\java.exe" goto init
-
-echo.
-echo Error: JAVA_HOME is set to an invalid directory. >&2
-echo JAVA_HOME = "%JAVA_HOME%" >&2
-echo Please set the JAVA_HOME variable in your environment to match the >&2
-echo location of your Java installation. >&2
-echo.
-goto error
-
-@REM ==== END VALIDATION ====
-
-:init
-
-@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
-@REM Fallback to current working directory if not found.
-
-set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
-IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
-
-set EXEC_DIR=%CD%
-set WDIR=%EXEC_DIR%
-:findBaseDir
-IF EXIST "%WDIR%"\.mvn goto baseDirFound
-cd ..
-IF "%WDIR%"=="%CD%" goto baseDirNotFound
-set WDIR=%CD%
-goto findBaseDir
-
-:baseDirFound
-set MAVEN_PROJECTBASEDIR=%WDIR%
-cd "%EXEC_DIR%"
-goto endDetectBaseDir
-
-:baseDirNotFound
-set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
-cd "%EXEC_DIR%"
-
-:endDetectBaseDir
-
-IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
-
-@setlocal EnableExtensions EnableDelayedExpansion
-for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
-@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
-
-:endReadAdditionalConfig
-
-SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
-set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
-set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
-
-set WRAPPER_URL="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar"
-
-FOR /F "usebackq tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
- IF "%%A"=="wrapperUrl" SET WRAPPER_URL=%%B
-)
-
-@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
-@REM This allows using the maven wrapper in projects that prohibit checking in binary data.
-if exist %WRAPPER_JAR% (
- if "%MVNW_VERBOSE%" == "true" (
- echo Found %WRAPPER_JAR%
- )
-) else (
- if not "%MVNW_REPOURL%" == "" (
- SET WRAPPER_URL="%MVNW_REPOURL%/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar"
- )
- if "%MVNW_VERBOSE%" == "true" (
- echo Couldn't find %WRAPPER_JAR%, downloading it ...
- echo Downloading from: %WRAPPER_URL%
- )
-
- powershell -Command "&{"^
- "$webclient = new-object System.Net.WebClient;"^
- "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^
- "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^
- "}"^
- "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%WRAPPER_URL%', '%WRAPPER_JAR%')"^
- "}"
- if "%MVNW_VERBOSE%" == "true" (
- echo Finished downloading %WRAPPER_JAR%
- )
-)
-@REM End of extension
-
-@REM If specified, validate the SHA-256 sum of the Maven wrapper jar file
-SET WRAPPER_SHA_256_SUM=""
-FOR /F "usebackq tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
- IF "%%A"=="wrapperSha256Sum" SET WRAPPER_SHA_256_SUM=%%B
-)
-IF NOT %WRAPPER_SHA_256_SUM%=="" (
- powershell -Command "&{"^
- "$hash = (Get-FileHash \"%WRAPPER_JAR%\" -Algorithm SHA256).Hash.ToLower();"^
- "If('%WRAPPER_SHA_256_SUM%' -ne $hash){"^
- " Write-Output 'Error: Failed to validate Maven wrapper SHA-256, your Maven wrapper might be compromised.';"^
- " Write-Output 'Investigate or delete %WRAPPER_JAR% to attempt a clean download.';"^
- " Write-Output 'If you updated your Maven version, you need to update the specified wrapperSha256Sum property.';"^
- " exit 1;"^
- "}"^
- "}"
- if ERRORLEVEL 1 goto error
-)
-
-@REM Provide a "standardized" way to retrieve the CLI args that will
-@REM work with both Windows and non-Windows executions.
-set MAVEN_CMD_LINE_ARGS=%*
-
-%MAVEN_JAVA_EXE% ^
- %JVM_CONFIG_MAVEN_PROPS% ^
- %MAVEN_OPTS% ^
- %MAVEN_DEBUG_OPTS% ^
- -classpath %WRAPPER_JAR% ^
- "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" ^
- %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
-if ERRORLEVEL 1 goto error
-goto end
-
-:error
-set ERROR_CODE=1
-
-:end
-@endlocal & set ERROR_CODE=%ERROR_CODE%
-
-if not "%MAVEN_SKIP_RC%"=="" goto skipRcPost
-@REM check for post script, once with legacy .bat ending and once with .cmd ending
-if exist "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat"
-if exist "%USERPROFILE%\mavenrc_post.cmd" call "%USERPROFILE%\mavenrc_post.cmd"
-:skipRcPost
-
-@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
-if "%MAVEN_BATCH_PAUSE%"=="on" pause
-
-if "%MAVEN_TERMINATE_CMD%"=="on" exit %ERROR_CODE%
-
-cmd /C exit /B %ERROR_CODE%
diff --git a/pom.xml b/pom.xml
deleted file mode 100644
index a9dd59e..0000000
--- a/pom.xml
+++ /dev/null
@@ -1,124 +0,0 @@
-
-
- 4.0.0
-
- org.springframework.boot
- spring-boot-starter-parent
- 3.0.6
-
-
- com.scccy
- springBootExample
- 0.0.1-SNAPSHOT
- springBootExample
- springBootExample
-
- 17
-
-
-
-
- org.springframework.boot
- spring-boot-starter-web
-
-
- org.springframework.boot
- spring-boot-starter-logging
-
-
-
-
-
-
- org.springframework.boot
- spring-boot-starter-actuator
-
-
-
-
- org.mybatis.spring.boot
- mybatis-spring-boot-starter
- 3.0.3
-
-
-
-
- com.mysql
- mysql-connector-j
- runtime
-
-
-
-
- org.projectlombok
- lombok
- true
-
-
-
-
- org.springframework.boot
- spring-boot-starter-test
- test
-
-
-
-
- org.mybatis.spring.boot
- mybatis-spring-boot-starter-test
- 3.0.3
- test
-
-
-
-
- com.github.pagehelper
- pagehelper-spring-boot-starter
- 2.1.0
-
-
-
-
- org.springframework.boot
- spring-boot-devtools
- runtime
- true
-
-
-
-
-
-
- org.springframework.boot
- spring-boot-starter-log4j2
-
-
-
-
- org.slf4j
- slf4j-api
- 2.0.13
-
-
-
-
- org.springframework.boot
- spring-boot-starter-aop
-
-
-
-
-
-
-
- org.springframework.boot
- spring-boot-maven-plugin
-
-
-
-
-
-
-
-
diff --git a/service-logs/third-api-dayunInfo-%d{yyyy-MM-dd}.log b/service-logs/third-api-dayunInfo-%d{yyyy-MM-dd}.log
deleted file mode 100644
index e69de29..0000000
diff --git a/service-logs/third-api-dayunInfo.log b/service-logs/third-api-dayunInfo.log
deleted file mode 100644
index e69de29..0000000
diff --git a/service-logs/third-api-error-%d{yyyy-MM-dd}.log b/service-logs/third-api-error-%d{yyyy-MM-dd}.log
deleted file mode 100644
index 68a7574..0000000
--- a/service-logs/third-api-error-%d{yyyy-MM-dd}.log
+++ /dev/null
@@ -1,129 +0,0 @@
-2024-05-17 19:58:19.709 CST [restartedMain] ERROR org.springframework.boot.SpringApplication 822 reportFailure - Application run failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name '/autoconfig': Unsatisfied dependency expressed through field 'importProBean01': Error creating bean with name 'importProBean01': Unsatisfied dependency expressed through field 'id': Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; For input string: "userShici.id"
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:713) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:693) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:133) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:482) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1416) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:597) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:917) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1304) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1293) ~[spring-boot-3.0.6.jar:3.0.6]
- at com.scccy.springbootexample.SpringBootExampleApplication.main(SpringBootExampleApplication.java:13) ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-3.0.6.jar:3.0.6]
-Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'importProBean01': Unsatisfied dependency expressed through field 'id': Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; For input string: "userShici.id"
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:713) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:693) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:133) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:482) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1416) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:597) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1417) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1337) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:710) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 25 more
-Caused by: org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; For input string: "userShici.id"
- at org.springframework.beans.TypeConverterSupport.convertIfNecessary(TypeConverterSupport.java:79) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1365) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1337) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:710) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:693) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:133) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:482) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1416) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:597) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1417) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1337) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:710) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 25 more
-Caused by: java.lang.NumberFormatException: For input string: "userShici.id"
- at java.lang.NumberFormatException.forInputString(NumberFormatException.java:67) ~[?:?]
- at java.lang.Integer.parseInt(Integer.java:668) ~[?:?]
- at java.lang.Integer.valueOf(Integer.java:999) ~[?:?]
- at org.springframework.util.NumberUtils.parseNumber(NumberUtils.java:203) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.beans.propertyeditors.CustomNumberEditor.setAsText(CustomNumberEditor.java:115) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:425) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:398) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:155) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.TypeConverterSupport.convertIfNecessary(TypeConverterSupport.java:73) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1365) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1337) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:710) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:693) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:133) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:482) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1416) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:597) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1417) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1337) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:710) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 25 more
-
-2024-05-17 20:01:27.749 CST [restartedMain] ERROR org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter 40 report -
-
-***************************
-APPLICATION FAILED TO START
-***************************
-
-Description:
-
-Configuration property name 'userShici' is not valid:
-
- Invalid characters: 'S'
- Bean: /autoconfig
- Reason: Canonical names should be kebab-case ('-' separated), lowercase alpha-numeric characters and must start with a letter
-
-Action:
-
-Modify 'userShici' so that it conforms to the canonical names requirements.
-
-2024-05-17 20:01:58.543 CST [restartedMain] ERROR org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter 40 report -
-
-***************************
-APPLICATION FAILED TO START
-***************************
-
-Description:
-
-Configuration property name 'userShici' is not valid:
-
- Invalid characters: 'S'
- Bean: /autoconfig
- Reason: Canonical names should be kebab-case ('-' separated), lowercase alpha-numeric characters and must start with a letter
-
-Action:
-
-Modify 'userShici' so that it conforms to the canonical names requirements.
-
diff --git a/service-logs/third-api-error.log b/service-logs/third-api-error.log
deleted file mode 100644
index b81898d..0000000
--- a/service-logs/third-api-error.log
+++ /dev/null
@@ -1,694 +0,0 @@
-2024-05-17 11:36:05.825 CST [restartedMain] ERROR org.springframework.boot.SpringApplication 822 reportFailure - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception with message: Failed to parse mapping resource: 'file [/home/project/springBootExample/springBootExample/target/classes/mapper/UserMapper.xml]'
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:659) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:647) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1332) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1162) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:917) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1304) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1293) ~[spring-boot-3.0.6.jar:3.0.6]
- at com.scccy.springbootexample.SpringBootExampleApplication.main(SpringBootExampleApplication.java:10) ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-3.0.6.jar:3.0.6]
-Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception with message: Failed to parse mapping resource: 'file [/home/project/springBootExample/springBootExample/target/classes/mapper/UserMapper.xml]'
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:171) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.io.IOException: Failed to parse mapping resource: 'file [/home/project/springBootExample/springBootExample/target/classes/mapper/UserMapper.xml]'
- at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:700) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:577) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.SqlSessionFactoryBean.getObject(SqlSessionFactoryBean.java:720) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration.sqlSessionFactory(MybatisAutoConfiguration.java:189) ~[mybatis-spring-boot-autoconfigure-3.0.3.jar:3.0.3]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [/home/project/springBootExample/springBootExample/target/classes/mapper/UserMapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.scccy.springbootexample.domain.User'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.scccy.springbootexample.domain.User
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:127) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:100) ~[mybatis-3.5.14.jar:3.5.14]
- at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:698) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:577) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.SqlSessionFactoryBean.getObject(SqlSessionFactoryBean.java:720) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration.sqlSessionFactory(MybatisAutoConfiguration.java:189) ~[mybatis-spring-boot-autoconfigure-3.0.3.jar:3.0.3]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.scccy.springbootexample.domain.User'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.scccy.springbootexample.domain.User
- at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:103) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:269) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:261) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElements(XMLMapperBuilder.java:253) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:123) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:100) ~[mybatis-3.5.14.jar:3.5.14]
- at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:698) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:577) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.SqlSessionFactoryBean.getObject(SqlSessionFactoryBean.java:720) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration.sqlSessionFactory(MybatisAutoConfiguration.java:189) ~[mybatis-spring-boot-autoconfigure-3.0.3.jar:3.0.3]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.scccy.springbootexample.domain.User'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.scccy.springbootexample.domain.User
- at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:128) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.BaseBuilder.resolveAlias(BaseBuilder.java:132) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:101) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:269) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:261) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElements(XMLMapperBuilder.java:253) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:123) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:100) ~[mybatis-3.5.14.jar:3.5.14]
- at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:698) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:577) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.SqlSessionFactoryBean.getObject(SqlSessionFactoryBean.java:720) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration.sqlSessionFactory(MybatisAutoConfiguration.java:189) ~[mybatis-spring-boot-autoconfigure-3.0.3.jar:3.0.3]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.ClassNotFoundException: Cannot find class: com.scccy.springbootexample.domain.User
- at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:226) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:103) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.io.Resources.classForName(Resources.java:322) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:124) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.BaseBuilder.resolveAlias(BaseBuilder.java:132) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:101) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:269) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:261) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElements(XMLMapperBuilder.java:253) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:123) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:100) ~[mybatis-3.5.14.jar:3.5.14]
- at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:698) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:577) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.SqlSessionFactoryBean.getObject(SqlSessionFactoryBean.java:720) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration.sqlSessionFactory(MybatisAutoConfiguration.java:189) ~[mybatis-spring-boot-autoconfigure-3.0.3.jar:3.0.3]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-
-2024-05-17 11:36:40.083 CST [restartedMain] ERROR org.springframework.boot.SpringApplication 822 reportFailure - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:659) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:493) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1332) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1162) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:917) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1304) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1293) ~[spring-boot-3.0.6.jar:3.0.6]
- at com.scccy.springbootexample.SpringBootExampleApplication.main(SpringBootExampleApplication.java:13) ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-3.0.6.jar:3.0.6]
-Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:171) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:76) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.ClassNotFoundException: org.aspectj.weaver.tools.PointcutDesignatorHandler
- at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
- at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
- at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:76) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-
-2024-05-17 11:38:30.258 CST [restartedMain] ERROR org.springframework.boot.SpringApplication 822 reportFailure - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:659) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:493) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1332) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1162) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:917) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1304) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1293) ~[spring-boot-3.0.6.jar:3.0.6]
- at com.scccy.springbootexample.SpringBootExampleApplication.main(SpringBootExampleApplication.java:13) ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-3.0.6.jar:3.0.6]
-Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:171) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.ClassNotFoundException: org.aspectj.weaver.tools.PointcutDesignatorHandler
- at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
- at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
- at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-
-2024-05-17 11:38:32.180 CST [restartedMain] ERROR org.springframework.boot.SpringApplication 822 reportFailure - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:659) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:493) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1332) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1162) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:917) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1304) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1293) ~[spring-boot-3.0.6.jar:3.0.6]
- at com.scccy.springbootexample.SpringBootExampleApplication.main(SpringBootExampleApplication.java:13) ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-3.0.6.jar:3.0.6]
-Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:171) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.ClassNotFoundException: org.aspectj.weaver.tools.PointcutDesignatorHandler
- at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
- at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
- at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-
-2024-05-17 11:39:09.128 CST [restartedMain] ERROR org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter 40 report -
-
-***************************
-APPLICATION FAILED TO START
-***************************
-
-Description:
-
-Field userService in com.scccy.springbootexample.controller.UserController required a bean of type 'com.scccy.springbootexample.service.UserService' that could not be found.
-
-The injection point has the following annotations:
- - @org.springframework.beans.factory.annotation.Autowired(required=true)
-
-
-Action:
-
-Consider defining a bean of type 'com.scccy.springbootexample.service.UserService' in your configuration.
-
-2024-05-17 11:39:11.726 CST [restartedMain] ERROR org.springframework.boot.SpringApplication 822 reportFailure - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:659) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:493) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1332) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1162) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:917) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1304) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1293) ~[spring-boot-3.0.6.jar:3.0.6]
- at com.scccy.springbootexample.SpringBootExampleApplication.main(SpringBootExampleApplication.java:13) ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-3.0.6.jar:3.0.6]
-Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:171) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.ClassNotFoundException: org.aspectj.weaver.tools.PointcutDesignatorHandler
- at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
- at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
- at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-
-2024-05-17 11:40:06.718 CST [restartedMain] ERROR org.springframework.boot.SpringApplication 822 reportFailure - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:659) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:493) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1332) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1162) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:917) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1304) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1293) ~[spring-boot-3.0.6.jar:3.0.6]
- at com.scccy.springbootexample.SpringBootExampleApplication.main(SpringBootExampleApplication.java:13) ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-3.0.6.jar:3.0.6]
-Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:171) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.ClassNotFoundException: org.aspectj.weaver.tools.PointcutDesignatorHandler
- at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
- at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
- at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-
-2024-05-17 11:40:08.663 CST [restartedMain] ERROR org.springframework.boot.SpringApplication 822 reportFailure - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:659) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:493) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1332) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1162) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:917) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1304) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1293) ~[spring-boot-3.0.6.jar:3.0.6]
- at com.scccy.springbootexample.SpringBootExampleApplication.main(SpringBootExampleApplication.java:13) ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-3.0.6.jar:3.0.6]
-Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:171) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.ClassNotFoundException: org.aspectj.weaver.tools.PointcutDesignatorHandler
- at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
- at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
- at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-
-2024-05-17 11:40:30.615 CST [restartedMain] ERROR org.springframework.boot.SpringApplication 822 reportFailure - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:659) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:493) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1332) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1162) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:917) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1304) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1293) ~[spring-boot-3.0.6.jar:3.0.6]
- at com.scccy.springbootexample.SpringBootExampleApplication.main(SpringBootExampleApplication.java:13) ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-3.0.6.jar:3.0.6]
-Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:171) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.ClassNotFoundException: org.aspectj.weaver.tools.PointcutDesignatorHandler
- at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
- at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
- at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-
-2024-05-17 11:40:32.554 CST [restartedMain] ERROR org.springframework.boot.SpringApplication 822 reportFailure - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:659) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:493) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1332) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1162) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:917) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1304) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1293) ~[spring-boot-3.0.6.jar:3.0.6]
- at com.scccy.springbootexample.SpringBootExampleApplication.main(SpringBootExampleApplication.java:13) ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-3.0.6.jar:3.0.6]
-Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:171) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.ClassNotFoundException: org.aspectj.weaver.tools.PointcutDesignatorHandler
- at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
- at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
- at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-
-2024-05-17 11:42:34.176 CST [restartedMain] ERROR org.springframework.boot.SpringApplication 822 reportFailure - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:659) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:493) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1332) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1162) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:917) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1304) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1293) ~[spring-boot-3.0.6.jar:3.0.6]
- at com.scccy.springbootexample.SpringBootExampleApplication.main(SpringBootExampleApplication.java:13) ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-3.0.6.jar:3.0.6]
-Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:171) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.ClassNotFoundException: org.aspectj.weaver.tools.PointcutDesignatorHandler
- at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
- at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
- at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-
diff --git a/service-logs/third-api-info-%d{yyyy-MM-dd}.log b/service-logs/third-api-info-%d{yyyy-MM-dd}.log
deleted file mode 100644
index 55bcec6..0000000
--- a/service-logs/third-api-info-%d{yyyy-MM-dd}.log
+++ /dev/null
@@ -1,372 +0,0 @@
-2024-05-17 19:58:17.211 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 405024 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 19:58:17.222 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 19:58:17.288 CST [restartedMain] INFO org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor 250 logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
-2024-05-17 19:58:17.290 CST [restartedMain] INFO org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor 250 logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
-2024-05-17 19:58:18.692 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$JdbcTransactionManagerConfiguration' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$JdbcTransactionManagerConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 19:58:18.694 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 19:58:18.723 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 19:58:18.746 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'dataSource' of type [com.zaxxer.hikari.HikariDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 19:58:18.755 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration' of type [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 19:58:18.772 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'spring.transaction-org.springframework.boot.autoconfigure.transaction.TransactionProperties' of type [org.springframework.boot.autoconfigure.transaction.TransactionProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 19:58:18.774 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'platformTransactionManagerCustomizers' of type [org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 19:58:18.780 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'transactionManager' of type [org.springframework.jdbc.support.JdbcTransactionManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 19:58:18.781 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'transactionConfig' of type [com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 19:58:18.788 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'txAdvice' of type [org.springframework.transaction.interceptor.TransactionInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 19:58:18.789 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'txAdviceAdvisor' of type [org.springframework.aop.support.DefaultPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 19:58:19.340 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 19:58:19.354 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 19:58:19.356 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 19:58:19.357 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 19:58:19.419 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 19:58:19.420 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 2129 ms
-2024-05-17 19:58:19.658 CST [restartedMain] WARN org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext 592 refresh - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name '/autoconfig': Unsatisfied dependency expressed through field 'importProBean01': Error creating bean with name 'importProBean01': Unsatisfied dependency expressed through field 'id': Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; For input string: "userShici.id"
-2024-05-17 19:58:19.662 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Stopping service [Tomcat]
-2024-05-17 19:58:19.686 CST [restartedMain] INFO org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLogger 82 logMessage -
-
-Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
-2024-05-17 19:58:19.709 CST [restartedMain] ERROR org.springframework.boot.SpringApplication 822 reportFailure - Application run failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name '/autoconfig': Unsatisfied dependency expressed through field 'importProBean01': Error creating bean with name 'importProBean01': Unsatisfied dependency expressed through field 'id': Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; For input string: "userShici.id"
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:713) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:693) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:133) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:482) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1416) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:597) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:917) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1304) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1293) ~[spring-boot-3.0.6.jar:3.0.6]
- at com.scccy.springbootexample.SpringBootExampleApplication.main(SpringBootExampleApplication.java:13) ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-3.0.6.jar:3.0.6]
-Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'importProBean01': Unsatisfied dependency expressed through field 'id': Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; For input string: "userShici.id"
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:713) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:693) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:133) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:482) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1416) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:597) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1417) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1337) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:710) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 25 more
-Caused by: org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; For input string: "userShici.id"
- at org.springframework.beans.TypeConverterSupport.convertIfNecessary(TypeConverterSupport.java:79) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1365) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1337) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:710) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:693) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:133) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:482) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1416) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:597) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1417) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1337) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:710) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 25 more
-Caused by: java.lang.NumberFormatException: For input string: "userShici.id"
- at java.lang.NumberFormatException.forInputString(NumberFormatException.java:67) ~[?:?]
- at java.lang.Integer.parseInt(Integer.java:668) ~[?:?]
- at java.lang.Integer.valueOf(Integer.java:999) ~[?:?]
- at org.springframework.util.NumberUtils.parseNumber(NumberUtils.java:203) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.beans.propertyeditors.CustomNumberEditor.setAsText(CustomNumberEditor.java:115) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:425) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:398) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:155) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.TypeConverterSupport.convertIfNecessary(TypeConverterSupport.java:73) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1365) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1337) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:710) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:693) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:133) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:482) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1416) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:597) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1417) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1337) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:710) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 25 more
-
-2024-05-17 20:01:25.262 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 406094 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 20:01:25.273 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 20:01:25.332 CST [restartedMain] INFO org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor 250 logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
-2024-05-17 20:01:25.334 CST [restartedMain] INFO org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor 250 logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
-2024-05-17 20:01:26.794 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$JdbcTransactionManagerConfiguration' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$JdbcTransactionManagerConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:01:26.797 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:01:26.827 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:01:26.853 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'dataSource' of type [com.zaxxer.hikari.HikariDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:01:26.863 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration' of type [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:01:26.871 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'spring.transaction-org.springframework.boot.autoconfigure.transaction.TransactionProperties' of type [org.springframework.boot.autoconfigure.transaction.TransactionProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:01:26.875 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'platformTransactionManagerCustomizers' of type [org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:01:26.881 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'transactionManager' of type [org.springframework.jdbc.support.JdbcTransactionManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:01:26.883 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'transactionConfig' of type [com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:01:26.891 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'txAdvice' of type [org.springframework.transaction.interceptor.TransactionInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:01:26.893 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'txAdviceAdvisor' of type [org.springframework.aop.support.DefaultPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:01:27.374 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 20:01:27.387 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 20:01:27.389 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 20:01:27.390 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 20:01:27.452 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 20:01:27.453 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 2118 ms
-2024-05-17 20:01:27.666 CST [restartedMain] WARN org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext 592 refresh - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name '/autoconfig': Unsatisfied dependency expressed through field 'importProBean02': Error creating bean with name 'importProBean02': Could not bind properties to 'ImportProBean02' : prefix=userShici, ignoreInvalidFields=false, ignoreUnknownFields=true
-2024-05-17 20:01:27.670 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Stopping service [Tomcat]
-2024-05-17 20:01:27.722 CST [restartedMain] INFO org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLogger 82 logMessage -
-
-Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
-2024-05-17 20:01:27.749 CST [restartedMain] ERROR org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter 40 report -
-
-***************************
-APPLICATION FAILED TO START
-***************************
-
-Description:
-
-Configuration property name 'userShici' is not valid:
-
- Invalid characters: 'S'
- Bean: /autoconfig
- Reason: Canonical names should be kebab-case ('-' separated), lowercase alpha-numeric characters and must start with a letter
-
-Action:
-
-Modify 'userShici' so that it conforms to the canonical names requirements.
-
-2024-05-17 20:01:55.947 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 406445 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 20:01:55.958 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 20:01:56.022 CST [restartedMain] INFO org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor 250 logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
-2024-05-17 20:01:56.023 CST [restartedMain] INFO org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor 250 logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
-2024-05-17 20:01:57.536 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$JdbcTransactionManagerConfiguration' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$JdbcTransactionManagerConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:01:57.539 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:01:57.568 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:01:57.596 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'dataSource' of type [com.zaxxer.hikari.HikariDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:01:57.610 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration' of type [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:01:57.618 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'spring.transaction-org.springframework.boot.autoconfigure.transaction.TransactionProperties' of type [org.springframework.boot.autoconfigure.transaction.TransactionProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:01:57.621 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'platformTransactionManagerCustomizers' of type [org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:01:57.628 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'transactionManager' of type [org.springframework.jdbc.support.JdbcTransactionManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:01:57.629 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'transactionConfig' of type [com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:01:57.639 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'txAdvice' of type [org.springframework.transaction.interceptor.TransactionInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:01:57.641 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'txAdviceAdvisor' of type [org.springframework.aop.support.DefaultPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:01:58.153 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 20:01:58.165 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 20:01:58.166 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 20:01:58.167 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 20:01:58.232 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 20:01:58.233 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 2209 ms
-2024-05-17 20:01:58.474 CST [restartedMain] WARN org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext 592 refresh - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name '/autoconfig': Unsatisfied dependency expressed through field 'importProBean02': Error creating bean with name 'importProBean02': Could not bind properties to 'ImportProBean02' : prefix=userShici, ignoreInvalidFields=false, ignoreUnknownFields=true
-2024-05-17 20:01:58.484 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Stopping service [Tomcat]
-2024-05-17 20:01:58.515 CST [restartedMain] INFO org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLogger 82 logMessage -
-
-Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
-2024-05-17 20:01:58.543 CST [restartedMain] ERROR org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter 40 report -
-
-***************************
-APPLICATION FAILED TO START
-***************************
-
-Description:
-
-Configuration property name 'userShici' is not valid:
-
- Invalid characters: 'S'
- Bean: /autoconfig
- Reason: Canonical names should be kebab-case ('-' separated), lowercase alpha-numeric characters and must start with a letter
-
-Action:
-
-Modify 'userShici' so that it conforms to the canonical names requirements.
-
-2024-05-17 20:03:50.671 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 407057 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 20:03:50.682 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 20:03:50.748 CST [restartedMain] INFO org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor 250 logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
-2024-05-17 20:03:50.748 CST [restartedMain] INFO org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor 250 logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
-2024-05-17 20:03:52.163 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$JdbcTransactionManagerConfiguration' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$JdbcTransactionManagerConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:03:52.166 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:03:52.188 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:03:52.210 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'dataSource' of type [com.zaxxer.hikari.HikariDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:03:52.218 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration' of type [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:03:52.224 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'spring.transaction-org.springframework.boot.autoconfigure.transaction.TransactionProperties' of type [org.springframework.boot.autoconfigure.transaction.TransactionProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:03:52.227 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'platformTransactionManagerCustomizers' of type [org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:03:52.232 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'transactionManager' of type [org.springframework.jdbc.support.JdbcTransactionManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:03:52.234 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'transactionConfig' of type [com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:03:52.241 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'txAdvice' of type [org.springframework.transaction.interceptor.TransactionInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:03:52.242 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'txAdviceAdvisor' of type [org.springframework.aop.support.DefaultPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:03:52.747 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 20:03:52.759 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 20:03:52.760 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 20:03:52.761 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 20:03:52.827 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 20:03:52.829 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 2079 ms
-2024-05-17 20:03:54.109 CST [restartedMain] INFO org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer 59 startServer - LiveReload server is running on port 35729
-2024-05-17 20:03:54.116 CST [restartedMain] INFO org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver 58 - Exposing 1 endpoint(s) beneath base path '/actuator'
-2024-05-17 20:03:54.191 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Starting ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 20:03:54.211 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 220 start - Tomcat started on port(s): 11007 (http) with context path '/example'
-2024-05-17 20:03:54.234 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 57 logStarted - Started SpringBootExampleApplication in 4.081 seconds (process running for 5.277)
-2024-05-17 20:03:54.889 CST [RMI TCP Connection(3)-127.0.0.1] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/example] 173 log - Initializing Spring DispatcherServlet 'dispatcherServlet'
-2024-05-17 20:03:54.890 CST [RMI TCP Connection(3)-127.0.0.1] INFO org.springframework.web.servlet.DispatcherServlet 532 initServletBean - Initializing Servlet 'dispatcherServlet'
-2024-05-17 20:03:54.892 CST [RMI TCP Connection(3)-127.0.0.1] INFO org.springframework.web.servlet.DispatcherServlet 554 initServletBean - Completed initialization in 1 ms
-2024-05-17 20:03:54.927 CST [RMI TCP Connection(2)-127.0.0.1] INFO com.zaxxer.hikari.HikariDataSource 110 getConnection - HikariPool-1 - Starting...
-2024-05-17 20:03:55.597 CST [RMI TCP Connection(2)-127.0.0.1] INFO com.zaxxer.hikari.pool.HikariPool 565 checkFailFast - HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@6965e4cd
-2024-05-17 20:03:55.636 CST [RMI TCP Connection(2)-127.0.0.1] INFO com.zaxxer.hikari.HikariDataSource 123 getConnection - HikariPool-1 - Start completed.
-2024-05-17 20:06:02.019 CST [http-nio-0.0.0.0-11007-exec-9] WARN org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver 207 logException - Resolved [org.springframework.web.bind.MissingServletRequestParameterException: Required request parameter 'userId' for method parameter type Integer is not present]
-2024-05-17 20:07:42.458 CST [http-nio-0.0.0.0-11007-exec-8] WARN com.scccy.springbootexample.handlerExption.GlobalExceptionHandler 28 handleGlobalException - Request method 'GET' is not supported
-2024-05-17 20:07:42.459 CST [http-nio-0.0.0.0-11007-exec-8] WARN org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver 207 logException - Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'GET' is not supported]
-2024-05-17 20:08:43.222 CST [File Watcher] INFO org.springframework.boot.devtools.autoconfigure.LocalDevToolsAutoConfiguration$RestartingClassPathChangeChangedEventListener 211 onApplicationEvent - Restarting due to 1 class path change (0 additions, 1 deletion, 0 modifications)
-2024-05-17 20:08:43.232 CST [Thread-5] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Pausing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 20:08:43.233 CST [Thread-5] INFO org.apache.catalina.core.StandardService 173 log - Stopping service [Tomcat]
-2024-05-17 20:08:43.235 CST [Thread-5] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/example] 173 log - Destroying Spring FrameworkServlet 'dispatcherServlet'
-2024-05-17 20:08:43.238 CST [Thread-5] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Stopping ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 20:08:43.241 CST [Thread-5] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Destroying ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 20:08:43.252 CST [Thread-5] INFO com.zaxxer.hikari.HikariDataSource 350 close - HikariPool-1 - Shutdown initiated...
-2024-05-17 20:08:43.265 CST [Thread-5] INFO com.zaxxer.hikari.HikariDataSource 352 close - HikariPool-1 - Shutdown completed.
-2024-05-17 20:08:43.396 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 407057 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 20:08:43.397 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 20:08:43.772 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$JdbcTransactionManagerConfiguration' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$JdbcTransactionManagerConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:08:43.773 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:08:43.778 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:08:43.784 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'dataSource' of type [com.zaxxer.hikari.HikariDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:08:43.786 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration' of type [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:08:43.789 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'spring.transaction-org.springframework.boot.autoconfigure.transaction.TransactionProperties' of type [org.springframework.boot.autoconfigure.transaction.TransactionProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:08:43.789 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'platformTransactionManagerCustomizers' of type [org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:08:43.790 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'transactionManager' of type [org.springframework.jdbc.support.JdbcTransactionManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:08:43.791 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'transactionConfig' of type [com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:08:43.792 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'txAdvice' of type [org.springframework.transaction.interceptor.TransactionInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:08:43.793 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'txAdviceAdvisor' of type [org.springframework.aop.support.DefaultPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:08:43.852 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 20:08:43.853 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 20:08:43.854 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 20:08:43.855 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 20:08:43.864 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 20:08:43.865 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 464 ms
-2024-05-17 20:08:44.324 CST [restartedMain] INFO org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer 59 startServer - LiveReload server is running on port 35729
-2024-05-17 20:08:44.329 CST [restartedMain] INFO org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver 58 - Exposing 1 endpoint(s) beneath base path '/actuator'
-2024-05-17 20:08:44.355 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Starting ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 20:08:44.359 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 220 start - Tomcat started on port(s): 11007 (http) with context path '/example'
-2024-05-17 20:08:44.370 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 57 logStarted - Started SpringBootExampleApplication in 1.039 seconds (process running for 295.413)
-2024-05-17 20:08:44.373 CST [restartedMain] INFO org.springframework.boot.devtools.autoconfigure.ConditionEvaluationDeltaLoggingListener 63 onApplicationEvent - Condition evaluation unchanged
-2024-05-17 20:08:45.729 CST [File Watcher] INFO org.springframework.boot.devtools.autoconfigure.LocalDevToolsAutoConfiguration$RestartingClassPathChangeChangedEventListener 211 onApplicationEvent - Restarting due to 1 class path change (1 addition, 0 deletions, 0 modifications)
-2024-05-17 20:08:45.734 CST [Thread-7] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Pausing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 20:08:45.734 CST [Thread-7] INFO org.apache.catalina.core.StandardService 173 log - Stopping service [Tomcat]
-2024-05-17 20:08:45.737 CST [Thread-7] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Stopping ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 20:08:45.739 CST [Thread-7] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Destroying ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 20:08:45.880 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 407057 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 20:08:45.881 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 20:08:46.217 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$JdbcTransactionManagerConfiguration' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$JdbcTransactionManagerConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:08:46.220 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:08:46.225 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:08:46.232 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'dataSource' of type [com.zaxxer.hikari.HikariDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:08:46.234 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration' of type [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:08:46.236 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'spring.transaction-org.springframework.boot.autoconfigure.transaction.TransactionProperties' of type [org.springframework.boot.autoconfigure.transaction.TransactionProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:08:46.237 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'platformTransactionManagerCustomizers' of type [org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:08:46.238 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'transactionManager' of type [org.springframework.jdbc.support.JdbcTransactionManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:08:46.239 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'transactionConfig' of type [com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:08:46.241 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'txAdvice' of type [org.springframework.transaction.interceptor.TransactionInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:08:46.242 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'txAdviceAdvisor' of type [org.springframework.aop.support.DefaultPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:08:46.304 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 20:08:46.305 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 20:08:46.306 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 20:08:46.307 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 20:08:46.315 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 20:08:46.316 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 431 ms
-2024-05-17 20:08:46.831 CST [restartedMain] INFO org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer 59 startServer - LiveReload server is running on port 35729
-2024-05-17 20:08:46.836 CST [restartedMain] INFO org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver 58 - Exposing 1 endpoint(s) beneath base path '/actuator'
-2024-05-17 20:08:46.860 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Starting ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 20:08:46.868 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 220 start - Tomcat started on port(s): 11007 (http) with context path '/example'
-2024-05-17 20:08:46.879 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 57 logStarted - Started SpringBootExampleApplication in 1.06 seconds (process running for 297.922)
-2024-05-17 20:08:46.881 CST [restartedMain] INFO org.springframework.boot.devtools.autoconfigure.ConditionEvaluationDeltaLoggingListener 63 onApplicationEvent - Condition evaluation unchanged
-2024-05-17 20:09:00.775 CST [http-nio-0.0.0.0-11007-exec-1] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/example] 173 log - Initializing Spring DispatcherServlet 'dispatcherServlet'
-2024-05-17 20:09:00.776 CST [http-nio-0.0.0.0-11007-exec-1] INFO org.springframework.web.servlet.DispatcherServlet 532 initServletBean - Initializing Servlet 'dispatcherServlet'
-2024-05-17 20:09:00.777 CST [http-nio-0.0.0.0-11007-exec-1] INFO org.springframework.web.servlet.DispatcherServlet 554 initServletBean - Completed initialization in 1 ms
-2024-05-17 20:14:39.049 CST [File Watcher] INFO org.springframework.boot.devtools.autoconfigure.LocalDevToolsAutoConfiguration$RestartingClassPathChangeChangedEventListener 211 onApplicationEvent - Restarting due to 1 class path change (0 additions, 1 deletion, 0 modifications)
-2024-05-17 20:14:39.074 CST [Thread-11] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Pausing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 20:14:39.088 CST [Thread-11] INFO org.apache.catalina.core.StandardService 173 log - Stopping service [Tomcat]
-2024-05-17 20:14:39.096 CST [Thread-11] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/example] 173 log - Destroying Spring FrameworkServlet 'dispatcherServlet'
-2024-05-17 20:14:39.124 CST [Thread-11] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Stopping ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 20:14:39.136 CST [Thread-11] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Destroying ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 20:14:39.248 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 407057 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 20:14:39.249 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 20:14:39.576 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$JdbcTransactionManagerConfiguration' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$JdbcTransactionManagerConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:14:39.577 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:14:39.582 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:14:39.588 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'dataSource' of type [com.zaxxer.hikari.HikariDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:14:39.589 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration' of type [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:14:39.591 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'spring.transaction-org.springframework.boot.autoconfigure.transaction.TransactionProperties' of type [org.springframework.boot.autoconfigure.transaction.TransactionProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:14:39.591 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'platformTransactionManagerCustomizers' of type [org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:14:39.592 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'transactionManager' of type [org.springframework.jdbc.support.JdbcTransactionManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:14:39.592 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'transactionConfig' of type [com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:14:39.594 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'txAdvice' of type [org.springframework.transaction.interceptor.TransactionInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:14:39.594 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'txAdviceAdvisor' of type [org.springframework.aop.support.DefaultPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:14:39.651 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 20:14:39.652 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 20:14:39.652 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 20:14:39.653 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 20:14:39.660 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 20:14:39.661 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 410 ms
-2024-05-17 20:14:40.117 CST [restartedMain] INFO org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer 59 startServer - LiveReload server is running on port 35729
-2024-05-17 20:14:40.122 CST [restartedMain] INFO org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver 58 - Exposing 1 endpoint(s) beneath base path '/actuator'
-2024-05-17 20:14:40.145 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Starting ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 20:14:40.157 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 220 start - Tomcat started on port(s): 11007 (http) with context path '/example'
-2024-05-17 20:14:40.168 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 57 logStarted - Started SpringBootExampleApplication in 0.976 seconds (process running for 651.211)
-2024-05-17 20:14:40.171 CST [restartedMain] INFO org.springframework.boot.devtools.autoconfigure.ConditionEvaluationDeltaLoggingListener 63 onApplicationEvent - Condition evaluation unchanged
-2024-05-17 20:14:41.522 CST [File Watcher] INFO org.springframework.boot.devtools.autoconfigure.LocalDevToolsAutoConfiguration$RestartingClassPathChangeChangedEventListener 211 onApplicationEvent - Restarting due to 1 class path change (1 addition, 0 deletions, 0 modifications)
-2024-05-17 20:14:41.525 CST [Thread-15] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Pausing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 20:14:41.526 CST [Thread-15] INFO org.apache.catalina.core.StandardService 173 log - Stopping service [Tomcat]
-2024-05-17 20:14:41.528 CST [Thread-15] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Stopping ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 20:14:41.530 CST [Thread-15] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Destroying ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 20:14:41.652 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 407057 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 20:14:41.653 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 20:14:42.005 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$JdbcTransactionManagerConfiguration' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$JdbcTransactionManagerConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:14:42.007 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:14:42.011 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:14:42.017 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'dataSource' of type [com.zaxxer.hikari.HikariDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:14:42.019 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration' of type [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:14:42.021 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'spring.transaction-org.springframework.boot.autoconfigure.transaction.TransactionProperties' of type [org.springframework.boot.autoconfigure.transaction.TransactionProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:14:42.022 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'platformTransactionManagerCustomizers' of type [org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:14:42.022 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'transactionManager' of type [org.springframework.jdbc.support.JdbcTransactionManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:14:42.023 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'transactionConfig' of type [com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:14:42.024 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'txAdvice' of type [org.springframework.transaction.interceptor.TransactionInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:14:42.025 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'txAdviceAdvisor' of type [org.springframework.aop.support.DefaultPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 20:14:42.083 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 20:14:42.084 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 20:14:42.084 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 20:14:42.085 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 20:14:42.093 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 20:14:42.093 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 437 ms
-2024-05-17 20:14:42.668 CST [restartedMain] INFO org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer 59 startServer - LiveReload server is running on port 35729
-2024-05-17 20:14:42.673 CST [restartedMain] INFO org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver 58 - Exposing 1 endpoint(s) beneath base path '/actuator'
-2024-05-17 20:14:42.695 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Starting ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 20:14:42.700 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 220 start - Tomcat started on port(s): 11007 (http) with context path '/example'
-2024-05-17 20:14:42.718 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 57 logStarted - Started SpringBootExampleApplication in 1.127 seconds (process running for 653.761)
-2024-05-17 20:14:42.721 CST [restartedMain] INFO org.springframework.boot.devtools.autoconfigure.ConditionEvaluationDeltaLoggingListener 63 onApplicationEvent - Condition evaluation unchanged
-2024-05-17 20:16:42.668 CST [http-nio-0.0.0.0-11007-exec-1] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/example] 173 log - Initializing Spring DispatcherServlet 'dispatcherServlet'
-2024-05-17 20:16:42.669 CST [http-nio-0.0.0.0-11007-exec-1] INFO org.springframework.web.servlet.DispatcherServlet 532 initServletBean - Initializing Servlet 'dispatcherServlet'
-2024-05-17 20:16:42.670 CST [http-nio-0.0.0.0-11007-exec-1] INFO org.springframework.web.servlet.DispatcherServlet 554 initServletBean - Completed initialization in 1 ms
diff --git a/service-logs/third-api-info.log b/service-logs/third-api-info.log
deleted file mode 100644
index b79f3c8..0000000
--- a/service-logs/third-api-info.log
+++ /dev/null
@@ -1,1054 +0,0 @@
-2024-05-17 10:53:24.307 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 310241 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 10:53:24.319 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 10:53:24.380 CST [restartedMain] INFO org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor 250 logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
-2024-05-17 10:53:24.381 CST [restartedMain] INFO org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor 250 logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
-2024-05-17 10:53:26.160 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 10:53:26.171 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 10:53:26.172 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 10:53:26.173 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 10:53:26.263 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 10:53:26.264 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 1881 ms
-2024-05-17 10:53:27.363 CST [restartedMain] INFO org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer 59 startServer - LiveReload server is running on port 35729
-2024-05-17 10:53:27.369 CST [restartedMain] INFO org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver 58 - Exposing 1 endpoint(s) beneath base path '/actuator'
-2024-05-17 10:53:27.442 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Starting ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 10:53:27.483 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 220 start - Tomcat started on port(s): 11007 (http) with context path '/example'
-2024-05-17 10:53:27.508 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 57 logStarted - Started SpringBootExampleApplication in 3.682 seconds (process running for 5.079)
-2024-05-17 10:53:28.193 CST [RMI TCP Connection(2)-127.0.0.1] INFO com.zaxxer.hikari.HikariDataSource 110 getConnection - HikariPool-1 - Starting...
-2024-05-17 10:53:28.213 CST [RMI TCP Connection(3)-127.0.0.1] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/example] 173 log - Initializing Spring DispatcherServlet 'dispatcherServlet'
-2024-05-17 10:53:28.214 CST [RMI TCP Connection(3)-127.0.0.1] INFO org.springframework.web.servlet.DispatcherServlet 532 initServletBean - Initializing Servlet 'dispatcherServlet'
-2024-05-17 10:53:28.216 CST [RMI TCP Connection(3)-127.0.0.1] INFO org.springframework.web.servlet.DispatcherServlet 554 initServletBean - Completed initialization in 2 ms
-2024-05-17 10:53:28.994 CST [RMI TCP Connection(2)-127.0.0.1] INFO com.zaxxer.hikari.pool.HikariPool 565 checkFailFast - HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@b67e452
-2024-05-17 10:53:29.040 CST [RMI TCP Connection(2)-127.0.0.1] INFO com.zaxxer.hikari.HikariDataSource 123 getConnection - HikariPool-1 - Start completed.
-2024-05-17 11:33:25.717 CST [File Watcher] INFO org.springframework.boot.devtools.autoconfigure.LocalDevToolsAutoConfiguration$RestartingClassPathChangeChangedEventListener 211 onApplicationEvent - Restarting due to 1 class path change (0 additions, 0 deletions, 1 modification)
-2024-05-17 11:33:25.722 CST [Thread-5] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Pausing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:33:25.723 CST [Thread-5] INFO org.apache.catalina.core.StandardService 173 log - Stopping service [Tomcat]
-2024-05-17 11:33:25.724 CST [Thread-5] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/example] 173 log - Destroying Spring FrameworkServlet 'dispatcherServlet'
-2024-05-17 11:33:25.727 CST [Thread-5] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Stopping ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:33:25.730 CST [Thread-5] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Destroying ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:33:25.737 CST [Thread-5] INFO com.zaxxer.hikari.HikariDataSource 350 close - HikariPool-1 - Shutdown initiated...
-2024-05-17 11:33:25.746 CST [Thread-5] INFO com.zaxxer.hikari.HikariDataSource 352 close - HikariPool-1 - Shutdown completed.
-2024-05-17 11:33:25.876 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 310241 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 11:33:25.877 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 11:33:26.338 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 11:33:26.339 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:33:26.340 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 11:33:26.341 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 11:33:26.351 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 11:33:26.351 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 468 ms
-2024-05-17 11:33:26.772 CST [restartedMain] INFO org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer 59 startServer - LiveReload server is running on port 35729
-2024-05-17 11:33:26.778 CST [restartedMain] INFO org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver 58 - Exposing 1 endpoint(s) beneath base path '/actuator'
-2024-05-17 11:33:26.823 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Starting ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:33:26.828 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 220 start - Tomcat started on port(s): 11007 (http) with context path '/example'
-2024-05-17 11:33:26.840 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 57 logStarted - Started SpringBootExampleApplication in 1.037 seconds (process running for 2404.41)
-2024-05-17 11:33:26.846 CST [restartedMain] INFO org.springframework.boot.devtools.autoconfigure.ConditionEvaluationDeltaLoggingListener 58 onApplicationEvent - Condition evaluation delta:
-
-
-==========================
-CONDITION EVALUATION DELTA
-==========================
-
-
-Positive matches:
------------------
-
- None
-
-
-Negative matches:
------------------
-
- TransactionAutoConfiguration.EnableTransactionManagementConfiguration:
- Did not match:
- - @ConditionalOnMissingBean (types: org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration; SearchStrategy: all) found beans of type 'org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration' org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration (OnBeanCondition)
-
- TransactionAutoConfiguration.EnableTransactionManagementConfiguration.CglibAutoProxyConfiguration:
- Did not match:
- - Ancestor org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration$EnableTransactionManagementConfiguration did not match (ConditionEvaluationReport.AncestorsMatchedCondition)
- Matched:
- - @ConditionalOnProperty (spring.aop.proxy-target-class=true) matched (OnPropertyCondition)
-
-
-Exclusions:
------------
-
- None
-
-
-Unconditional classes:
-----------------------
-
- None
-
-
-
-2024-05-17 11:34:44.329 CST [File Watcher] INFO org.springframework.boot.devtools.autoconfigure.LocalDevToolsAutoConfiguration$RestartingClassPathChangeChangedEventListener 211 onApplicationEvent - Restarting due to 1 class path change (1 addition, 0 deletions, 0 modifications)
-2024-05-17 11:34:44.333 CST [Thread-7] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Pausing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:34:44.333 CST [Thread-7] INFO org.apache.catalina.core.StandardService 173 log - Stopping service [Tomcat]
-2024-05-17 11:34:44.336 CST [Thread-7] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Stopping ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:34:44.338 CST [Thread-7] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Destroying ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:34:44.467 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 310241 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 11:34:44.468 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 11:34:44.927 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 11:34:44.928 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:34:44.928 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 11:34:44.929 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 11:34:44.937 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 11:34:44.938 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 466 ms
-2024-05-17 11:34:45.215 CST [restartedMain] INFO org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer 59 startServer - LiveReload server is running on port 35729
-2024-05-17 11:34:45.219 CST [restartedMain] INFO org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver 58 - Exposing 1 endpoint(s) beneath base path '/actuator'
-2024-05-17 11:34:45.241 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Starting ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:34:45.245 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 220 start - Tomcat started on port(s): 11007 (http) with context path '/example'
-2024-05-17 11:34:45.256 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 57 logStarted - Started SpringBootExampleApplication in 0.866 seconds (process running for 2482.827)
-2024-05-17 11:34:45.259 CST [restartedMain] INFO org.springframework.boot.devtools.autoconfigure.ConditionEvaluationDeltaLoggingListener 63 onApplicationEvent - Condition evaluation unchanged
-2024-05-17 11:35:14.685 CST [File Watcher] INFO org.springframework.boot.devtools.autoconfigure.LocalDevToolsAutoConfiguration$RestartingClassPathChangeChangedEventListener 211 onApplicationEvent - Restarting due to 1 class path change (0 additions, 1 deletion, 0 modifications)
-2024-05-17 11:35:14.688 CST [Thread-11] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Pausing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:35:14.691 CST [Thread-11] INFO org.apache.catalina.core.StandardService 173 log - Stopping service [Tomcat]
-2024-05-17 11:35:14.694 CST [Thread-11] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Stopping ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:35:14.696 CST [Thread-11] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Destroying ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:35:14.825 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 310241 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 11:35:14.827 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 11:35:15.647 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 11:35:15.649 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:35:15.656 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 11:35:15.657 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 11:35:15.693 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 11:35:15.695 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 866 ms
-2024-05-17 11:35:16.253 CST [restartedMain] INFO org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer 59 startServer - LiveReload server is running on port 35729
-2024-05-17 11:35:16.258 CST [restartedMain] INFO org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver 58 - Exposing 1 endpoint(s) beneath base path '/actuator'
-2024-05-17 11:35:16.278 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Starting ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:35:16.283 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 220 start - Tomcat started on port(s): 11007 (http) with context path '/example'
-2024-05-17 11:35:16.294 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 57 logStarted - Started SpringBootExampleApplication in 1.544 seconds (process running for 2513.865)
-2024-05-17 11:35:16.296 CST [restartedMain] INFO org.springframework.boot.devtools.autoconfigure.ConditionEvaluationDeltaLoggingListener 63 onApplicationEvent - Condition evaluation unchanged
-2024-05-17 11:36:05.152 CST [File Watcher] INFO org.springframework.boot.devtools.autoconfigure.LocalDevToolsAutoConfiguration$RestartingClassPathChangeChangedEventListener 211 onApplicationEvent - Restarting due to 18 class path changes (0 additions, 14 deletions, 4 modifications)
-2024-05-17 11:36:05.160 CST [Thread-15] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Pausing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:36:05.161 CST [Thread-15] INFO org.apache.catalina.core.StandardService 173 log - Stopping service [Tomcat]
-2024-05-17 11:36:05.163 CST [Thread-15] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Stopping ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:36:05.165 CST [Thread-15] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Destroying ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:36:05.286 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 310241 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 11:36:05.287 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 11:36:05.584 CST [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner 44 warn - No MyBatis mapper was found in '[com.scccy.springbootexample]' package. Please check your configuration.
-2024-05-17 11:36:05.632 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 11:36:05.633 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:36:05.633 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 11:36:05.633 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 11:36:05.641 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 11:36:05.641 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 350 ms
-2024-05-17 11:36:05.780 CST [restartedMain] WARN org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext 592 refresh - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception with message: Failed to parse mapping resource: 'file [/home/project/springBootExample/springBootExample/target/classes/mapper/UserMapper.xml]'
-2024-05-17 11:36:05.781 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Stopping service [Tomcat]
-2024-05-17 11:36:05.801 CST [restartedMain] INFO org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLogger 82 logMessage -
-
-Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
-2024-05-17 11:36:05.825 CST [restartedMain] ERROR org.springframework.boot.SpringApplication 822 reportFailure - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception with message: Failed to parse mapping resource: 'file [/home/project/springBootExample/springBootExample/target/classes/mapper/UserMapper.xml]'
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:659) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:647) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1332) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1162) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:917) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1304) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1293) ~[spring-boot-3.0.6.jar:3.0.6]
- at com.scccy.springbootexample.SpringBootExampleApplication.main(SpringBootExampleApplication.java:10) ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-3.0.6.jar:3.0.6]
-Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception with message: Failed to parse mapping resource: 'file [/home/project/springBootExample/springBootExample/target/classes/mapper/UserMapper.xml]'
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:171) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.io.IOException: Failed to parse mapping resource: 'file [/home/project/springBootExample/springBootExample/target/classes/mapper/UserMapper.xml]'
- at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:700) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:577) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.SqlSessionFactoryBean.getObject(SqlSessionFactoryBean.java:720) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration.sqlSessionFactory(MybatisAutoConfiguration.java:189) ~[mybatis-spring-boot-autoconfigure-3.0.3.jar:3.0.3]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [/home/project/springBootExample/springBootExample/target/classes/mapper/UserMapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.scccy.springbootexample.domain.User'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.scccy.springbootexample.domain.User
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:127) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:100) ~[mybatis-3.5.14.jar:3.5.14]
- at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:698) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:577) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.SqlSessionFactoryBean.getObject(SqlSessionFactoryBean.java:720) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration.sqlSessionFactory(MybatisAutoConfiguration.java:189) ~[mybatis-spring-boot-autoconfigure-3.0.3.jar:3.0.3]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.scccy.springbootexample.domain.User'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.scccy.springbootexample.domain.User
- at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:103) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:269) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:261) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElements(XMLMapperBuilder.java:253) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:123) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:100) ~[mybatis-3.5.14.jar:3.5.14]
- at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:698) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:577) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.SqlSessionFactoryBean.getObject(SqlSessionFactoryBean.java:720) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration.sqlSessionFactory(MybatisAutoConfiguration.java:189) ~[mybatis-spring-boot-autoconfigure-3.0.3.jar:3.0.3]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.scccy.springbootexample.domain.User'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.scccy.springbootexample.domain.User
- at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:128) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.BaseBuilder.resolveAlias(BaseBuilder.java:132) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:101) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:269) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:261) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElements(XMLMapperBuilder.java:253) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:123) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:100) ~[mybatis-3.5.14.jar:3.5.14]
- at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:698) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:577) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.SqlSessionFactoryBean.getObject(SqlSessionFactoryBean.java:720) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration.sqlSessionFactory(MybatisAutoConfiguration.java:189) ~[mybatis-spring-boot-autoconfigure-3.0.3.jar:3.0.3]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.ClassNotFoundException: Cannot find class: com.scccy.springbootexample.domain.User
- at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:226) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:103) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.io.Resources.classForName(Resources.java:322) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:124) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.BaseBuilder.resolveAlias(BaseBuilder.java:132) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:101) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:269) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:261) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElements(XMLMapperBuilder.java:253) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:123) ~[mybatis-3.5.14.jar:3.5.14]
- at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:100) ~[mybatis-3.5.14.jar:3.5.14]
- at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:698) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:577) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.SqlSessionFactoryBean.getObject(SqlSessionFactoryBean.java:720) ~[mybatis-spring-3.0.3.jar:3.0.3]
- at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration.sqlSessionFactory(MybatisAutoConfiguration.java:189) ~[mybatis-spring-boot-autoconfigure-3.0.3.jar:3.0.3]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-
-2024-05-17 11:36:37.384 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 310241 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 11:36:37.386 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 11:36:37.719 CST [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner 44 warn - No MyBatis mapper was found in '[com.scccy.springbootexample]' package. Please check your configuration.
-2024-05-17 11:36:37.768 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 11:36:37.771 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:36:37.771 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 11:36:37.772 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 11:36:37.779 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat-1].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 11:36:37.779 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 391 ms
-2024-05-17 11:36:38.039 CST [restartedMain] INFO org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer 59 startServer - LiveReload server is running on port 35729
-2024-05-17 11:36:38.043 CST [restartedMain] INFO org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver 58 - Exposing 1 endpoint(s) beneath base path '/actuator'
-2024-05-17 11:36:38.063 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Starting ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:36:38.076 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 220 start - Tomcat started on port(s): 11007 (http) with context path '/example'
-2024-05-17 11:36:38.087 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 57 logStarted - Started SpringBootExampleApplication in 0.792 seconds (process running for 2595.658)
-2024-05-17 11:36:38.091 CST [restartedMain] INFO org.springframework.boot.devtools.autoconfigure.ConditionEvaluationDeltaLoggingListener 58 onApplicationEvent - Condition evaluation delta:
-
-
-==========================
-CONDITION EVALUATION DELTA
-==========================
-
-
-Positive matches:
------------------
-
- TransactionAutoConfiguration.EnableTransactionManagementConfiguration matched:
- - @ConditionalOnBean (types: org.springframework.transaction.TransactionManager; SearchStrategy: all) found bean 'transactionManager'; @ConditionalOnMissingBean (types: org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration; SearchStrategy: all) did not find any beans (OnBeanCondition)
-
- TransactionAutoConfiguration.EnableTransactionManagementConfiguration.CglibAutoProxyConfiguration matched:
- - @ConditionalOnProperty (spring.aop.proxy-target-class=true) matched (OnPropertyCondition)
-
-
-Negative matches:
------------------
-
- None
-
-
-Exclusions:
------------
-
- None
-
-
-Unconditional classes:
-----------------------
-
- None
-
-
-
-2024-05-17 11:36:39.445 CST [File Watcher] INFO org.springframework.boot.devtools.autoconfigure.LocalDevToolsAutoConfiguration$RestartingClassPathChangeChangedEventListener 211 onApplicationEvent - Restarting due to 15 class path changes (15 additions, 0 deletions, 0 modifications)
-2024-05-17 11:36:39.460 CST [Thread-19] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Pausing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:36:39.461 CST [Thread-19] INFO org.apache.catalina.core.StandardService 173 log - Stopping service [Tomcat]
-2024-05-17 11:36:39.463 CST [Thread-19] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Stopping ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:36:39.466 CST [Thread-19] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Destroying ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:36:39.604 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 310241 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 11:36:39.605 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 11:36:39.966 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 11:36:39.967 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:36:39.967 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 11:36:39.968 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 11:36:39.975 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat-1].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 11:36:39.975 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 367 ms
-2024-05-17 11:36:40.065 CST [restartedMain] WARN org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext 592 refresh - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
-2024-05-17 11:36:40.065 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Stopping service [Tomcat]
-2024-05-17 11:36:40.080 CST [restartedMain] INFO org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLogger 82 logMessage -
-
-Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
-2024-05-17 11:36:40.083 CST [restartedMain] ERROR org.springframework.boot.SpringApplication 822 reportFailure - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:659) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:493) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1332) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1162) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:917) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1304) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1293) ~[spring-boot-3.0.6.jar:3.0.6]
- at com.scccy.springbootexample.SpringBootExampleApplication.main(SpringBootExampleApplication.java:13) ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-3.0.6.jar:3.0.6]
-Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:171) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:76) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.ClassNotFoundException: org.aspectj.weaver.tools.PointcutDesignatorHandler
- at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
- at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
- at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:76) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-
-2024-05-17 11:38:29.789 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 310241 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 11:38:29.791 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 11:38:30.148 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 11:38:30.149 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:38:30.149 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 11:38:30.150 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 11:38:30.156 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat-2].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 11:38:30.157 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 364 ms
-2024-05-17 11:38:30.243 CST [restartedMain] WARN org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext 592 refresh - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
-2024-05-17 11:38:30.244 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Stopping service [Tomcat]
-2024-05-17 11:38:30.255 CST [restartedMain] INFO org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLogger 82 logMessage -
-
-Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
-2024-05-17 11:38:30.258 CST [restartedMain] ERROR org.springframework.boot.SpringApplication 822 reportFailure - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:659) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:493) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1332) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1162) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:917) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1304) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1293) ~[spring-boot-3.0.6.jar:3.0.6]
- at com.scccy.springbootexample.SpringBootExampleApplication.main(SpringBootExampleApplication.java:13) ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-3.0.6.jar:3.0.6]
-Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:171) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.ClassNotFoundException: org.aspectj.weaver.tools.PointcutDesignatorHandler
- at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
- at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
- at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-
-2024-05-17 11:38:31.719 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 310241 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 11:38:31.720 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 11:38:32.077 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 11:38:32.078 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:38:32.078 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 11:38:32.078 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 11:38:32.085 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat-3].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 11:38:32.085 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 362 ms
-2024-05-17 11:38:32.164 CST [restartedMain] WARN org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext 592 refresh - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
-2024-05-17 11:38:32.165 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Stopping service [Tomcat]
-2024-05-17 11:38:32.177 CST [restartedMain] INFO org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLogger 82 logMessage -
-
-Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
-2024-05-17 11:38:32.180 CST [restartedMain] ERROR org.springframework.boot.SpringApplication 822 reportFailure - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:659) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:493) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1332) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1162) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:917) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1304) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1293) ~[spring-boot-3.0.6.jar:3.0.6]
- at com.scccy.springbootexample.SpringBootExampleApplication.main(SpringBootExampleApplication.java:13) ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-3.0.6.jar:3.0.6]
-Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:171) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.ClassNotFoundException: org.aspectj.weaver.tools.PointcutDesignatorHandler
- at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
- at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
- at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-
-2024-05-17 11:39:08.706 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 310241 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 11:39:08.706 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 11:39:09.048 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 11:39:09.049 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:39:09.049 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 11:39:09.050 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 11:39:09.057 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat-4].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 11:39:09.057 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 349 ms
-2024-05-17 11:39:09.109 CST [restartedMain] WARN org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext 592 refresh - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userController': Unsatisfied dependency expressed through field 'userService': No qualifying bean of type 'com.scccy.springbootexample.service.UserService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
-2024-05-17 11:39:09.110 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Stopping service [Tomcat]
-2024-05-17 11:39:09.122 CST [restartedMain] INFO org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLogger 82 logMessage -
-
-Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
-2024-05-17 11:39:09.128 CST [restartedMain] ERROR org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter 40 report -
-
-***************************
-APPLICATION FAILED TO START
-***************************
-
-Description:
-
-Field userService in com.scccy.springbootexample.controller.UserController required a bean of type 'com.scccy.springbootexample.service.UserService' that could not be found.
-
-The injection point has the following annotations:
- - @org.springframework.beans.factory.annotation.Autowired(required=true)
-
-
-Action:
-
-Consider defining a bean of type 'com.scccy.springbootexample.service.UserService' in your configuration.
-
-2024-05-17 11:39:10.584 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 310241 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 11:39:10.585 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 11:39:11.541 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 11:39:11.542 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:39:11.542 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 11:39:11.543 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 11:39:11.567 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat-5].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 11:39:11.567 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 980 ms
-2024-05-17 11:39:11.703 CST [restartedMain] WARN org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext 592 refresh - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
-2024-05-17 11:39:11.705 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Stopping service [Tomcat]
-2024-05-17 11:39:11.722 CST [restartedMain] INFO org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLogger 82 logMessage -
-
-Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
-2024-05-17 11:39:11.726 CST [restartedMain] ERROR org.springframework.boot.SpringApplication 822 reportFailure - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:659) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:493) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1332) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1162) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:917) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1304) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1293) ~[spring-boot-3.0.6.jar:3.0.6]
- at com.scccy.springbootexample.SpringBootExampleApplication.main(SpringBootExampleApplication.java:13) ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-3.0.6.jar:3.0.6]
-Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:171) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.ClassNotFoundException: org.aspectj.weaver.tools.PointcutDesignatorHandler
- at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
- at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
- at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-
-2024-05-17 11:40:06.283 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 310241 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 11:40:06.284 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 11:40:06.613 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 11:40:06.613 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:40:06.614 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 11:40:06.614 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 11:40:06.621 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat-6].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 11:40:06.621 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 335 ms
-2024-05-17 11:40:06.701 CST [restartedMain] WARN org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext 592 refresh - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
-2024-05-17 11:40:06.702 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Stopping service [Tomcat]
-2024-05-17 11:40:06.715 CST [restartedMain] INFO org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLogger 82 logMessage -
-
-Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
-2024-05-17 11:40:06.718 CST [restartedMain] ERROR org.springframework.boot.SpringApplication 822 reportFailure - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:659) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:493) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1332) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1162) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:917) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1304) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1293) ~[spring-boot-3.0.6.jar:3.0.6]
- at com.scccy.springbootexample.SpringBootExampleApplication.main(SpringBootExampleApplication.java:13) ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-3.0.6.jar:3.0.6]
-Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:171) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.ClassNotFoundException: org.aspectj.weaver.tools.PointcutDesignatorHandler
- at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
- at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
- at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-
-2024-05-17 11:40:08.186 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 310241 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 11:40:08.188 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 11:40:08.546 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 11:40:08.547 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:40:08.548 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 11:40:08.548 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 11:40:08.555 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat-7].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 11:40:08.555 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 365 ms
-2024-05-17 11:40:08.647 CST [restartedMain] WARN org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext 592 refresh - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
-2024-05-17 11:40:08.648 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Stopping service [Tomcat]
-2024-05-17 11:40:08.660 CST [restartedMain] INFO org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLogger 82 logMessage -
-
-Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
-2024-05-17 11:40:08.663 CST [restartedMain] ERROR org.springframework.boot.SpringApplication 822 reportFailure - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:659) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:493) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1332) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1162) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:917) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1304) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1293) ~[spring-boot-3.0.6.jar:3.0.6]
- at com.scccy.springbootexample.SpringBootExampleApplication.main(SpringBootExampleApplication.java:13) ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-3.0.6.jar:3.0.6]
-Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:171) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.ClassNotFoundException: org.aspectj.weaver.tools.PointcutDesignatorHandler
- at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
- at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
- at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-
-2024-05-17 11:40:30.164 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 310241 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 11:40:30.165 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 11:40:30.506 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 11:40:30.507 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:40:30.508 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 11:40:30.508 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 11:40:30.515 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat-8].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 11:40:30.515 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 348 ms
-2024-05-17 11:40:30.600 CST [restartedMain] WARN org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext 592 refresh - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
-2024-05-17 11:40:30.600 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Stopping service [Tomcat]
-2024-05-17 11:40:30.612 CST [restartedMain] INFO org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLogger 82 logMessage -
-
-Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
-2024-05-17 11:40:30.615 CST [restartedMain] ERROR org.springframework.boot.SpringApplication 822 reportFailure - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:659) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:493) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1332) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1162) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:917) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1304) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1293) ~[spring-boot-3.0.6.jar:3.0.6]
- at com.scccy.springbootexample.SpringBootExampleApplication.main(SpringBootExampleApplication.java:13) ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-3.0.6.jar:3.0.6]
-Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:171) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.ClassNotFoundException: org.aspectj.weaver.tools.PointcutDesignatorHandler
- at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
- at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
- at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-
-2024-05-17 11:40:32.071 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 310241 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 11:40:32.072 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 11:40:32.441 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 11:40:32.442 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:40:32.442 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 11:40:32.443 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 11:40:32.449 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat-9].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 11:40:32.449 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 376 ms
-2024-05-17 11:40:32.539 CST [restartedMain] WARN org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext 592 refresh - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
-2024-05-17 11:40:32.540 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Stopping service [Tomcat]
-2024-05-17 11:40:32.551 CST [restartedMain] INFO org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLogger 82 logMessage -
-
-Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
-2024-05-17 11:40:32.554 CST [restartedMain] ERROR org.springframework.boot.SpringApplication 822 reportFailure - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:659) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:493) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1332) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1162) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:917) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1304) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1293) ~[spring-boot-3.0.6.jar:3.0.6]
- at com.scccy.springbootexample.SpringBootExampleApplication.main(SpringBootExampleApplication.java:13) ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-3.0.6.jar:3.0.6]
-Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:171) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.ClassNotFoundException: org.aspectj.weaver.tools.PointcutDesignatorHandler
- at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
- at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
- at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-
-2024-05-17 11:42:33.265 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 310241 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 11:42:33.266 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 11:42:33.982 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 11:42:33.983 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:42:33.984 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 11:42:33.985 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 11:42:33.992 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat-10].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 11:42:33.993 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 725 ms
-2024-05-17 11:42:34.157 CST [restartedMain] WARN org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext 592 refresh - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
-2024-05-17 11:42:34.159 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Stopping service [Tomcat]
-2024-05-17 11:42:34.173 CST [restartedMain] INFO org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLogger 82 logMessage -
-
-Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
-2024-05-17 11:42:34.176 CST [restartedMain] ERROR org.springframework.boot.SpringApplication 822 reportFailure - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdviceAdvisor' defined in class path resource [com/scccy/springbootexample/aspect/TransactionConfig.class]: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:659) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:493) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1332) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1162) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:560) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:520) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:917) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584) ~[spring-context-6.0.8.jar:6.0.8]
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1304) ~[spring-boot-3.0.6.jar:3.0.6]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1293) ~[spring-boot-3.0.6.jar:3.0.6]
- at com.scccy.springbootexample.SpringBootExampleApplication.main(SpringBootExampleApplication.java:13) ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-3.0.6.jar:3.0.6]
-Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.aop.Advisor]: Factory method 'txAdviceAdvisor' threw exception with message: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:171) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutDesignatorHandler
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-Caused by: java.lang.ClassNotFoundException: org.aspectj.weaver.tools.PointcutDesignatorHandler
- at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
- at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
- at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
- at com.scccy.springbootexample.aspect.TransactionConfig.txAdviceAdvisor(TransactionConfig.java:75) ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.CGLIB$txAdviceAdvisor$0() ~[classes/:?]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$2.invoke() ~[classes/:?]
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.0.8.jar:6.0.8]
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.0.8.jar:6.0.8]
- at com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0.txAdviceAdvisor() ~[classes/:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
- at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
- at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
- at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139) ~[spring-beans-6.0.8.jar:6.0.8]
- at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-6.0.8.jar:6.0.8]
- ... 24 more
-
-2024-05-17 11:45:15.870 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 51 logStarting - Starting SpringBootExampleApplication using Java 17.0.11 with PID 325631 (/home/project/springBootExample/springBootExample/target/classes started by root in /home/project/springBootExample)
-2024-05-17 11:45:15.880 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 632 logStartupProfileInfo - No active profile set, falling back to 1 default profile: "default"
-2024-05-17 11:45:15.935 CST [restartedMain] INFO org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor 250 logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
-2024-05-17 11:45:15.935 CST [restartedMain] INFO org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor 250 logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
-2024-05-17 11:45:17.363 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$JdbcTransactionManagerConfiguration' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration$JdbcTransactionManagerConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 11:45:17.366 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 11:45:17.387 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 11:45:17.413 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'dataSource' of type [com.zaxxer.hikari.HikariDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 11:45:17.421 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration' of type [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 11:45:17.427 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'spring.transaction-org.springframework.boot.autoconfigure.transaction.TransactionProperties' of type [org.springframework.boot.autoconfigure.transaction.TransactionProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 11:45:17.430 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'platformTransactionManagerCustomizers' of type [org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 11:45:17.434 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'transactionManager' of type [org.springframework.jdbc.support.JdbcTransactionManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 11:45:17.435 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'transactionConfig' of type [com.scccy.springbootexample.aspect.TransactionConfig$$SpringCGLIB$$0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 11:45:17.442 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'txAdvice' of type [org.springframework.transaction.interceptor.TransactionInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 11:45:17.443 CST [restartedMain] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker 409 postProcessAfterInitialization - Bean 'txAdviceAdvisor' of type [org.springframework.aop.support.DefaultPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
-2024-05-17 11:45:17.893 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 108 initialize - Tomcat initialized with port(s): 11007 (http)
-2024-05-17 11:45:17.903 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Initializing ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:45:17.905 CST [restartedMain] INFO org.apache.catalina.core.StandardService 173 log - Starting service [Tomcat]
-2024-05-17 11:45:17.905 CST [restartedMain] INFO org.apache.catalina.core.StandardEngine 173 log - Starting Servlet engine: [Apache Tomcat/10.1.8]
-2024-05-17 11:45:17.966 CST [restartedMain] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/example] 173 log - Initializing Spring embedded WebApplicationContext
-2024-05-17 11:45:17.966 CST [restartedMain] INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext 291 prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 2030 ms
-2024-05-17 11:45:19.177 CST [restartedMain] INFO org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer 59 startServer - LiveReload server is running on port 35729
-2024-05-17 11:45:19.184 CST [restartedMain] INFO org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver 58 - Exposing 1 endpoint(s) beneath base path '/actuator'
-2024-05-17 11:45:19.242 CST [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol 173 log - Starting ProtocolHandler ["http-nio-0.0.0.0-11007"]
-2024-05-17 11:45:19.257 CST [restartedMain] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer 220 start - Tomcat started on port(s): 11007 (http) with context path '/example'
-2024-05-17 11:45:19.275 CST [restartedMain] INFO com.scccy.springbootexample.SpringBootExampleApplication 57 logStarted - Started SpringBootExampleApplication in 3.86 seconds (process running for 5.111)
-2024-05-17 11:45:19.836 CST [RMI TCP Connection(3)-127.0.0.1] INFO com.zaxxer.hikari.HikariDataSource 110 getConnection - HikariPool-1 - Starting...
-2024-05-17 11:45:19.837 CST [RMI TCP Connection(2)-127.0.0.1] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/example] 173 log - Initializing Spring DispatcherServlet 'dispatcherServlet'
-2024-05-17 11:45:19.847 CST [RMI TCP Connection(2)-127.0.0.1] INFO org.springframework.web.servlet.DispatcherServlet 532 initServletBean - Initializing Servlet 'dispatcherServlet'
-2024-05-17 11:45:19.849 CST [RMI TCP Connection(2)-127.0.0.1] INFO org.springframework.web.servlet.DispatcherServlet 554 initServletBean - Completed initialization in 1 ms
-2024-05-17 11:45:20.609 CST [RMI TCP Connection(3)-127.0.0.1] INFO com.zaxxer.hikari.pool.HikariPool 565 checkFailFast - HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@2b855b63
-2024-05-17 11:45:20.614 CST [RMI TCP Connection(3)-127.0.0.1] INFO com.zaxxer.hikari.HikariDataSource 123 getConnection - HikariPool-1 - Start completed.
-2024-05-17 11:45:27.515 CST [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource 350 close - HikariPool-1 - Shutdown initiated...
-2024-05-17 11:45:27.556 CST [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource 352 close - HikariPool-1 - Shutdown completed.
diff --git a/src/main/java/com/scccy/springbootexample/SpringBootExampleApplication.java b/src/main/java/com/scccy/springbootexample/SpringBootExampleApplication.java
deleted file mode 100644
index a8ce9be..0000000
--- a/src/main/java/com/scccy/springbootexample/SpringBootExampleApplication.java
+++ /dev/null
@@ -1,16 +0,0 @@
-package com.scccy.springbootexample;
-
-import org.springframework.boot.SpringApplication;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.transaction.annotation.EnableTransactionManagement;
-
-@SpringBootApplication
-// 开启事务管理
-@EnableTransactionManagement
-public class SpringBootExampleApplication {
-
- public static void main(String[] args) {
- SpringApplication.run(SpringBootExampleApplication.class, args);
- }
-//操你妈
-}
diff --git a/src/main/java/com/scccy/springbootexample/aspect/TransactionConfig.java b/src/main/java/com/scccy/springbootexample/aspect/TransactionConfig.java
deleted file mode 100644
index 8237ca9..0000000
--- a/src/main/java/com/scccy/springbootexample/aspect/TransactionConfig.java
+++ /dev/null
@@ -1,81 +0,0 @@
-package com.scccy.springbootexample.aspect;
-
-import org.aspectj.lang.annotation.Aspect;
-import org.springframework.aop.Advisor;
-import org.springframework.aop.aspectj.AspectJExpressionPointcut;
-import org.springframework.aop.support.DefaultPointcutAdvisor;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.transaction.TransactionDefinition;
-import org.springframework.transaction.TransactionManager;
-import org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource;
-import org.springframework.transaction.interceptor.RollbackRuleAttribute;
-import org.springframework.transaction.interceptor.RuleBasedTransactionAttribute;
-import org.springframework.transaction.interceptor.TransactionInterceptor;
-
-import java.util.Collections;
-
-/**
- * 全局事务配置类
- */
-@Aspect
-@Configuration
-public class TransactionConfig {
- // 切入点
- private static final String AOP_POINTCUT_EXPRESSION = "execution(* com.pro.service.*.*(..))";
- // 需要添加事务切入的方法列表, 使用这些前缀的方法都会被添加事务
- private static final String[] REQUIRED_RULE_TRANSACTION = {"insert*", "create*", "add*", "save*", "update*", "del*", "delete*"};
- private static final String[] READ_RULE_TRANSACTION = {"select*", "get*", "query*", "search*", "count*", "find*"};
-
- @Autowired
- private TransactionManager transactionManager;
-
- @Bean
- public TransactionInterceptor txAdvice() {
- // 增删改事务
- RuleBasedTransactionAttribute REQUIRED = new RuleBasedTransactionAttribute();
- // 当抛出设置的对应异常后,进行事务回滚(此处设置为“Exception”级别)
- REQUIRED.setRollbackRules(Collections.singletonList(new RollbackRuleAttribute(Exception.class)));
- // 设置隔离级别(读已提交的数据)
- REQUIRED.setIsolationLevel(TransactionDefinition.ISOLATION_READ_COMMITTED);
- // 设置传播行为(存在事务则加入其中,不存在则新建事务)
- REQUIRED.setPropagationBehavior(TransactionDefinition.PROPAGATION_REQUIRED);
-
- // 只读事务,不做更新操作
- RuleBasedTransactionAttribute READONLY = new RuleBasedTransactionAttribute();
- // 当抛出设置的对应异常后,进行事务回滚(此处设置为“Exception”级别)
- READONLY.setRollbackRules(Collections.singletonList(new RollbackRuleAttribute(Exception.class)));
- // 设置隔离级别(读已提交的数据)
- READONLY.setIsolationLevel(TransactionDefinition.ISOLATION_READ_COMMITTED);
- // 设置传播行为(如果当前存在事务,则加入这个事务,如果当前没有事务,就以非事务方式执行)
- READONLY.setPropagationBehavior(TransactionDefinition.PROPAGATION_SUPPORTS);
- // 设置事务是否“只读”(非必需,只是声明该事务中不会进行修改数据库的操作,可减轻由事务造成的数据库压力,属于性能优化的推荐配置)
-// READONLY.setReadOnly(true);
-
- // 事务管理规则,承载需要进行事务管理的方法名(模糊匹配)及设置的事务管理属性
- NameMatchTransactionAttributeSource source = new NameMatchTransactionAttributeSource();
-
- // 增删改方法的前缀
- for (String s : REQUIRED_RULE_TRANSACTION) {
- source.addTransactionalMethod(s, REQUIRED);
- }
- // 查询方法的前缀
- for (String s : READ_RULE_TRANSACTION) {
- source.addTransactionalMethod(s, READONLY);
- }
-
- // 实例化事务拦截器
- return new TransactionInterceptor(transactionManager, source);
- }
-
- @Bean
- public Advisor txAdviceAdvisor() {
- // 声明切点要切入的面
- AspectJExpressionPointcut pointcut = new AspectJExpressionPointcut();
- // 设置需要被拦截的路径
- pointcut.setExpression(AOP_POINTCUT_EXPRESSION);
- // 设置切面和配置好的事务管理
- return new DefaultPointcutAdvisor(pointcut, txAdvice());
- }
-}
\ No newline at end of file
diff --git a/src/main/java/com/scccy/springbootexample/common/ResultData.java b/src/main/java/com/scccy/springbootexample/common/ResultData.java
deleted file mode 100644
index 196fedd..0000000
--- a/src/main/java/com/scccy/springbootexample/common/ResultData.java
+++ /dev/null
@@ -1,34 +0,0 @@
-package com.scccy.springbootexample.common;
-
-import lombok.AllArgsConstructor;
-import lombok.Data;
-import lombok.NoArgsConstructor;
-import lombok.experimental.Accessors;
-
-@Data
-@AllArgsConstructor
-@NoArgsConstructor
-@Accessors(chain = true)
-public class ResultData {
- private Integer code;
- private String msg;
- private Object data;
-
- public static ResultData ok() {
- ResultData resultData = new ResultData();
- resultData.setCode(200);
- resultData.setMsg("SUSSES");
- return resultData;
- }
-
-
- public static ResultData fail() {
- ResultData resultData = new ResultData();
- resultData.setCode(500);
- resultData.setMsg("FAIL");
- return resultData;
- }
-
-
-
-}
diff --git a/src/main/java/com/scccy/springbootexample/config/MysqlDataSource.java b/src/main/java/com/scccy/springbootexample/config/MysqlDataSource.java
deleted file mode 100644
index ccd5230..0000000
--- a/src/main/java/com/scccy/springbootexample/config/MysqlDataSource.java
+++ /dev/null
@@ -1,7 +0,0 @@
-package com.scccy.springbootexample.config;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-
-public class MysqlDataSource {
-}
diff --git a/src/main/java/com/scccy/springbootexample/config/WebMvcConfig.java b/src/main/java/com/scccy/springbootexample/config/WebMvcConfig.java
deleted file mode 100644
index b146534..0000000
--- a/src/main/java/com/scccy/springbootexample/config/WebMvcConfig.java
+++ /dev/null
@@ -1,33 +0,0 @@
-package com.scccy.springbootexample.config;
-
-import com.scccy.springbootexample.handlerInterceptor.TokenInterceptor;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.web.servlet.config.annotation.CorsRegistry;
-import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
-import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
-
-@Configuration
-public class WebMvcConfig implements WebMvcConfigurer {
-
- @Override
- public void addInterceptors(InterceptorRegistry registry) {
-// 添加拦截器,并指定拦截的路径
-// 指定拦截目标
- registry.addInterceptor(new TokenInterceptor())
- .addPathPatterns("/user/login") // 指定拦截器的URL路径匹配模式
-// .excludePathPatterns("/login", "/register") // 指定不拦截的路径,如登录或注册页面
-// .order(1)//拦截顺序
- ;
- }
-
- //开启全局跨域
- @Override
- public void addCorsMappings(CorsRegistry registry) {
- registry.addMapping("/**")
- .allowCredentials(true)
- .allowedHeaders("*")
- .allowedOriginPatterns("*")
- .allowedMethods("*");
- }
-
-}
diff --git a/src/main/java/com/scccy/springbootexample/controller/ImportAutoConfig.java b/src/main/java/com/scccy/springbootexample/controller/ImportAutoConfig.java
deleted file mode 100644
index 49d2a2b..0000000
--- a/src/main/java/com/scccy/springbootexample/controller/ImportAutoConfig.java
+++ /dev/null
@@ -1,33 +0,0 @@
-package com.scccy.springbootexample.controller;
-
-import com.scccy.springbootexample.test.autoConfig.ImportProBean;
-import com.scccy.springbootexample.test.autoConfig.ImportProBean01;
-import com.scccy.springbootexample.test.autoConfig.ImportProBean02;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Component;
-import org.springframework.stereotype.Controller;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
-
-@RestController
-@RequestMapping("/autoconfig")
-public class ImportAutoConfig {
- @GetMapping("/test01")
- public String test01(){
- return ImportProBean.AGE.toString();
- }
-
- @Autowired
- ImportProBean01 importProBean01;
- @GetMapping("/test02")
- public String test02(){
- return importProBean01.getId().toString();
- }
- @Autowired
- ImportProBean02 importProBean02;
- @GetMapping("/test03")
- public String test03(){
- return importProBean02.getId().toString();
- }
-}
diff --git a/src/main/java/com/scccy/springbootexample/controller/UserController.java b/src/main/java/com/scccy/springbootexample/controller/UserController.java
deleted file mode 100644
index 8bf247e..0000000
--- a/src/main/java/com/scccy/springbootexample/controller/UserController.java
+++ /dev/null
@@ -1,79 +0,0 @@
-package com.scccy.springbootexample.controller;
-
-import com.scccy.springbootexample.common.ResultData;
-import com.scccy.springbootexample.domain.User;
-import com.scccy.springbootexample.service.UserService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Controller;
-import org.springframework.web.bind.annotation.*;
-
-import java.util.List;
-
-@Controller
-@RequestMapping("/user")
-
-public class UserController {
-
- @Autowired
- UserService userService;
-
- // 增
- @PostMapping
- @ResponseBody
- public ResultData add(@RequestBody User user) {
- userService.add(user);
- return ResultData.ok();
- }
-
- // 删
- @DeleteMapping("/{id}")
- @ResponseBody
- public ResultData delete(@PathVariable("id") Integer id) {
- userService.delete(id);
- return ResultData.ok();
- }
-
- @PutMapping("")
- @ResponseBody
- public ResultData update(@RequestBody User user) {
- userService.update(user);
- return ResultData.ok();
- }
-
- @GetMapping("")
- @ResponseBody
- public ResultData getUserById(@RequestParam("userId") Integer id) {
- User user = userService.getUserById(id);
- return ResultData.ok().setData(user);
- }
-
- @GetMapping("/all")
- @ResponseBody
- public ResultData getAll(@RequestParam("page") Integer page,
- @RequestParam("pageSize") Integer pageSize) {
- List users = userService.getAll(page, pageSize);
- return ResultData.ok().setData(users);
- }
-
- // 登入页面测试 修改返回接过是utf8
-// @GetMapping(value= "/login",produces = "text/html;charset=UTF-8")
- @GetMapping(value = "/login")
- @ResponseBody()
- public String login() {
- return "👴快来玩儿つぼみ";
- }
-
- // 转发
- @GetMapping("/forward")
- public String forward() {
- return "forward:login";
- }
-
- // 重定向
- @GetMapping("/red")
- public String redirect() {
- return "redirect:login";
- }
-
-
-}
diff --git a/src/main/java/com/scccy/springbootexample/domain/User.java b/src/main/java/com/scccy/springbootexample/domain/User.java
deleted file mode 100644
index 4c8508a..0000000
--- a/src/main/java/com/scccy/springbootexample/domain/User.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package com.scccy.springbootexample.domain;
-
-import lombok.AllArgsConstructor;
-import lombok.Data;
-import lombok.NoArgsConstructor;
-import lombok.experimental.Accessors;
-
-@Data
-@AllArgsConstructor
-@NoArgsConstructor
-@Accessors(chain = true)
-public class User {
- private Integer userId;
- private String userPlan;
- private Integer done;
-
-}
\ No newline at end of file
diff --git a/src/main/java/com/scccy/springbootexample/handlerExption/ControllerExceptionHandler.java b/src/main/java/com/scccy/springbootexample/handlerExption/ControllerExceptionHandler.java
deleted file mode 100644
index c6cc43a..0000000
--- a/src/main/java/com/scccy/springbootexample/handlerExption/ControllerExceptionHandler.java
+++ /dev/null
@@ -1,40 +0,0 @@
-package com.scccy.springbootexample.handlerExption;
-
-import com.scccy.springbootexample.common.ResultData;
-import org.springframework.http.HttpStatus;
-import org.springframework.http.ResponseEntity;
-import org.springframework.validation.FieldError;
-import org.springframework.web.bind.MethodArgumentNotValidException;
-import org.springframework.web.bind.MissingServletRequestParameterException;
-import org.springframework.web.bind.annotation.ExceptionHandler;
-import org.springframework.web.bind.annotation.RestControllerAdvice;
-
-import java.util.HashMap;
-import java.util.Map;
-
-@RestControllerAdvice("com.scccy.springbootexample.controller")
-public class ControllerExceptionHandler {
- // 处理缺少请求参数的异常
- @ExceptionHandler(MissingServletRequestParameterException.class)
- public ResponseEntity handleMissingServletRequestParameter(MissingServletRequestParameterException ex) {
- // 构建错误信息,说明哪个必需参数缺失
- String message = String.format("Required parameter '%s' is not present", ex.getParameterName());
- // 返回一个BAD_REQUEST(400)响应,并通知客户端哪个参数是必需的
- return new ResponseEntity<>(ResultData.fail().setCode(400).setMsg(message), HttpStatus.BAD_REQUEST);
- }
-
- // 处理请求数据字段验证失败的异常
- @ExceptionHandler(MethodArgumentNotValidException.class)
- public ResponseEntity handleValidationExceptions(MethodArgumentNotValidException ex) {
- // 创建一个错误信息的集合
- Map errors = new HashMap<>();
- // 循环所有的错误,将它们加入到错误信息的集合中
- ex.getBindingResult().getAllErrors().forEach(error -> {
- String fieldName = ((FieldError) error).getField();
- String errorMessage = error.getDefaultMessage();
- errors.put(fieldName, errorMessage);
- });
- // 返回一个BAD_REQUEST(400)响应,并提供具体的字段错误信息
- return new ResponseEntity<>(ResultData.fail().setMsg("Validation failed").setData(errors), HttpStatus.BAD_REQUEST);
- }
-}
diff --git a/src/main/java/com/scccy/springbootexample/handlerExption/GlobalExceptionHandler.java b/src/main/java/com/scccy/springbootexample/handlerExption/GlobalExceptionHandler.java
deleted file mode 100644
index 86f9a28..0000000
--- a/src/main/java/com/scccy/springbootexample/handlerExption/GlobalExceptionHandler.java
+++ /dev/null
@@ -1,41 +0,0 @@
-package com.scccy.springbootexample.handlerExption;
-
-import com.scccy.springbootexample.common.ResultData;
-import lombok.extern.slf4j.Slf4j;
-import org.springframework.dao.DataAccessException;
-import org.springframework.http.HttpStatus;
-import org.springframework.http.ResponseEntity;
-import org.springframework.web.bind.annotation.ExceptionHandler;
-import org.springframework.web.bind.annotation.RestControllerAdvice;
-
-import java.sql.SQLException;
-
-@Slf4j
-@RestControllerAdvice
-public class GlobalExceptionHandler {
- // 针对数据库异常处理
- @ExceptionHandler(DataAccessException.class)
- public ResponseEntity handleSQLException(SQLException ex) {
- String errorMessage = "Database error: SQL integrity constraint violation.";
- log.error(errorMessage, ex);
- return new ResponseEntity<>(ResultData.fail().setMsg(errorMessage).setData(ex.getMessage()), HttpStatus.INTERNAL_SERVER_ERROR);
- }
-
- // 处理所有未被前面特定异常处理器捕获的异常
- @ExceptionHandler(Exception.class)
- public ResponseEntity handleGlobalException(Exception ex) {
- // 通常是未预料的错误,返回一个INTERNAL_SERVER_ERROR(500)响应
- log.warn(ex.getMessage());
- return new ResponseEntity<>(ResultData.fail().setMsg("An unexpected error occurred, please contact support.")
- .setData(ex.getMessage()), HttpStatus.INTERNAL_SERVER_ERROR);
- }
-
-
-
- // 自定义的异常类
- public static class CustomException extends RuntimeException {
- public CustomException(String message) {
- super(message);
- }
- }
-}
\ No newline at end of file
diff --git a/src/main/java/com/scccy/springbootexample/handlerExption/ServiceExceptionHandler.java b/src/main/java/com/scccy/springbootexample/handlerExption/ServiceExceptionHandler.java
deleted file mode 100644
index 6ca2adc..0000000
--- a/src/main/java/com/scccy/springbootexample/handlerExption/ServiceExceptionHandler.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package com.scccy.springbootexample.handlerExption;
-
-import com.scccy.springbootexample.common.ResultData;
-
-import lombok.extern.slf4j.Slf4j;
-import org.springframework.http.HttpStatus;
-import org.springframework.http.ResponseEntity;
-import org.springframework.web.bind.annotation.ExceptionHandler;
-import org.springframework.web.bind.annotation.RestControllerAdvice;
-
-
-@Slf4j
-@RestControllerAdvice({"com.scccy.springbootexample.service"})
-public class ServiceExceptionHandler {
- // 处理自定义异常,通常用于业务逻辑错误,例如无效的用户操作等
- @ExceptionHandler(GlobalExceptionHandler.CustomException.class)
- public ResponseEntity handleCustomException(GlobalExceptionHandler.CustomException ex) {
- // 返回客户端一个BAD_REQUEST(400)响应,以及异常信息
- return new ResponseEntity<>(ResultData.fail().setData(400).setMsg(ex.getMessage()), HttpStatus.BAD_REQUEST);
- }
-
-
-
-
-}
diff --git a/src/main/java/com/scccy/springbootexample/handlerInterceptor/TokenInterceptor.java b/src/main/java/com/scccy/springbootexample/handlerInterceptor/TokenInterceptor.java
deleted file mode 100644
index 98c8fd7..0000000
--- a/src/main/java/com/scccy/springbootexample/handlerInterceptor/TokenInterceptor.java
+++ /dev/null
@@ -1,32 +0,0 @@
-package com.scccy.springbootexample.handlerInterceptor;
-
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-import org.springframework.stereotype.Component;
-import org.springframework.web.servlet.HandlerInterceptor;
-import org.springframework.web.servlet.ModelAndView;
-
-@Component
-public class TokenInterceptor implements HandlerInterceptor {
- @Override
- public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
- String token = request.getHeader("Authorization");
- if (token == null || !token.startsWith("Bearer ")) {
- response.setStatus(HttpServletResponse.SC_UNAUTHORIZED); // 设置响应状态码为401
- response.getWriter().write("Unauthorized access");
- return false; // 返回false,请求将被终止
- }
- // 此处可以添加更复杂的token验证逻辑,如解析和校验token
- return true; // token存在,请求继续
- }
-
- @Override
- public void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler, ModelAndView modelAndView) throws Exception {
- // 可以处理请求执行之后的逻辑
- }
-
- @Override
- public void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) throws Exception {
- // 请求处理完成后的回调,可以用来进行资源清理等操作
- }
-}
diff --git a/src/main/java/com/scccy/springbootexample/mapper/UserMapper.java b/src/main/java/com/scccy/springbootexample/mapper/UserMapper.java
deleted file mode 100644
index 7a89495..0000000
--- a/src/main/java/com/scccy/springbootexample/mapper/UserMapper.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package com.scccy.springbootexample.mapper;
-
-
-import com.scccy.springbootexample.domain.User;
-import org.apache.ibatis.annotations.Mapper;
-
-import java.util.List;
-
-@Mapper
-public interface UserMapper {
-
- int deleteByPrimaryKey(Integer userId);
-
- int insert(User record);
-
- int insertSelective(User record);
-
- User selectByPrimaryKey(Integer userId);
-
- int updateByPrimaryKeySelective(User record);
-
- int updateByPrimaryKey(User record);
-
- List getall();
-}
\ No newline at end of file
diff --git a/src/main/java/com/scccy/springbootexample/service/UserService.java b/src/main/java/com/scccy/springbootexample/service/UserService.java
deleted file mode 100644
index 6bf7118..0000000
--- a/src/main/java/com/scccy/springbootexample/service/UserService.java
+++ /dev/null
@@ -1,18 +0,0 @@
-package com.scccy.springbootexample.service;
-
-
-import com.scccy.springbootexample.domain.User;
-
-import java.util.List;
-
-public interface UserService {
- void add(User user);
-
- void delete(Integer id);
-
- void update(User user);
-
- User getUserById(Integer id);
-
- List getAll(Integer page, Integer pageSize);
-}
diff --git a/src/main/java/com/scccy/springbootexample/service/impl/UserServiceImpl.java b/src/main/java/com/scccy/springbootexample/service/impl/UserServiceImpl.java
deleted file mode 100644
index b497bff..0000000
--- a/src/main/java/com/scccy/springbootexample/service/impl/UserServiceImpl.java
+++ /dev/null
@@ -1,58 +0,0 @@
-package com.scccy.springbootexample.service.impl;
-
-
-import com.github.pagehelper.PageHelper;
-import com.github.pagehelper.PageInfo;
-import com.scccy.springbootexample.domain.User;
-import com.scccy.springbootexample.mapper.UserMapper;
-import com.scccy.springbootexample.service.UserService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-import org.springframework.transaction.annotation.Isolation;
-import org.springframework.transaction.annotation.Propagation;
-import org.springframework.transaction.annotation.Transactional;
-
-import java.util.List;
-
-
-@Service
-/*
- * 表明该类(class)或方法(method)受事务控制
- * @param propagation 设置隔离级别
- * @param isolation 设置传播行为
- * @param rollbackFor 设置需要回滚的异常类,默认为RuntimeException
- */
-@Transactional(propagation = Propagation.REQUIRED, isolation = Isolation.READ_COMMITTED, rollbackFor = Exception.class)
-public class UserServiceImpl implements UserService {
- @Autowired
- UserMapper userMapper;
-
- @Override
- public void add(User user) {
- userMapper.insert(user);
- }
-
- @Override
- public void delete(Integer id) {
- userMapper.deleteByPrimaryKey(id);
- }
-
- @Override
- public void update(User user) {
- userMapper.updateByPrimaryKey(user);
- }
-
- @Override
- public User getUserById(Integer id) {
- return userMapper.selectByPrimaryKey(id);
- }
-
- @Override
- public List getAll(Integer page, Integer pageSize) {
- PageHelper.startPage(page, pageSize);
- List allData = userMapper.getall();
-
- PageInfo pageInfo = new PageInfo<>(allData);
- return pageInfo.getList();
- }
-}
diff --git a/src/main/java/com/scccy/springbootexample/test/autoConfig/ImportProBean.java b/src/main/java/com/scccy/springbootexample/test/autoConfig/ImportProBean.java
deleted file mode 100644
index feb9a04..0000000
--- a/src/main/java/com/scccy/springbootexample/test/autoConfig/ImportProBean.java
+++ /dev/null
@@ -1,27 +0,0 @@
-package com.scccy.springbootexample.test.autoConfig;
-
-import lombok.Data;
-import org.springframework.beans.factory.InitializingBean;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.springframework.stereotype.Component;
-
-@Component
-@Data
-@ConfigurationProperties(prefix = "usershici")
-public class ImportProBean implements InitializingBean {
- private Integer id;
- private String name;
- private Integer age;
-
- public static Integer ID;
- public static String NAME;
- public static Integer AGE;
-
- @Override
- public void afterPropertiesSet() throws Exception {
- ID = this.getId();
- NAME = this.getName();
- AGE = this.getAge();
- }
-}
-
diff --git a/src/main/java/com/scccy/springbootexample/test/autoConfig/ImportProBean01.java b/src/main/java/com/scccy/springbootexample/test/autoConfig/ImportProBean01.java
deleted file mode 100644
index 13383b2..0000000
--- a/src/main/java/com/scccy/springbootexample/test/autoConfig/ImportProBean01.java
+++ /dev/null
@@ -1,19 +0,0 @@
-package com.scccy.springbootexample.test.autoConfig;
-
-import lombok.Data;
-import org.springframework.beans.factory.annotation.Value;
-import org.springframework.context.annotation.Configuration;
-
-@Configuration
-@Data
-public class ImportProBean01 {
-// demo04.sms.url=http://localhost:3000/sendmsg
-//demo04.sms.token=qeqwe1231qwe123qe
-//demo04.sms.templateId=10011
- @Value("${usershici.id}")
- private Integer id;
- @Value("${usershici.name}")
- private String name;
- @Value("${usershici.age}")
- private Integer age;
-}
diff --git a/src/main/java/com/scccy/springbootexample/test/autoConfig/ImportProBean02.java b/src/main/java/com/scccy/springbootexample/test/autoConfig/ImportProBean02.java
deleted file mode 100644
index b726b4f..0000000
--- a/src/main/java/com/scccy/springbootexample/test/autoConfig/ImportProBean02.java
+++ /dev/null
@@ -1,19 +0,0 @@
-package com.scccy.springbootexample.test.autoConfig;
-
-import lombok.Data;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.springframework.context.annotation.Configuration;
-
-import java.util.List;
-import java.util.Map;
-
-@Configuration
-@Data
-@ConfigurationProperties("usershici")
-public class ImportProBean02 {
-
- private Integer id;
- private String name;
- private Integer age;
-
-}
diff --git a/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports b/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
deleted file mode 100644
index bc12e9f..0000000
--- a/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
+++ /dev/null
@@ -1,2 +0,0 @@
-# 自动导包
-# 写入class 类
diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml
deleted file mode 100644
index b18e650..0000000
--- a/src/main/resources/application.yaml
+++ /dev/null
@@ -1,49 +0,0 @@
-server:
- port: 11007
- address: 0.0.0.0
- servlet:
- context-path: /example
-
-spring:
- application:
- name: springBootExample01
- datasource:
- url: jdbc:mysql://192.168.32.166:3306/mybatis-example?useUnicode=true&characterEncoding=utf8&serverTimezone=UTC
- username: root
- password: asdsc88Q12
- driver-class-name: com.mysql.cj.jdbc.Driver
- #热部署
- devtools:
- restart:
- enabled: true #设置开启热部署
- additional-paths: src/main/java #重启目录
- freemarker:
- cache: false
-# 开启aop
- aop:
- auto: true
-
-
-
-
-mybatis:
- configuration:
- map-underscore-to-camel-case: true
- log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
- lazy-loading-enabled: true
- auto-mapping-behavior: FULL
- mapper-locations: classpath*:mapper/*.xml
- type-aliases-package: com.scccy.springbootexample.domain
- plugins:
- - com.github.pagehelper.PageInterceptor
-
-pagehelper:
- helper-dialect: mysql
- reasonable: true
- support-methods-arguments: true
-
-usershici:
- id: 1
- name: shici
- age: 18
-
diff --git a/src/main/resources/jdbc.properties b/src/main/resources/jdbc.properties
deleted file mode 100644
index e69de29..0000000
diff --git a/src/main/resources/log4j2.xml b/src/main/resources/log4j2.xml
deleted file mode 100644
index 8240895..0000000
--- a/src/main/resources/log4j2.xml
+++ /dev/null
@@ -1,88 +0,0 @@
-
-
-
- third-api
- /home/project/springBootExample/springBootExample/service-logs
- 100 MB
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/main/resources/mapper/UserMapper.xml b/src/main/resources/mapper/UserMapper.xml
deleted file mode 100644
index 598f549..0000000
--- a/src/main/resources/mapper/UserMapper.xml
+++ /dev/null
@@ -1,84 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- user_id, user_plan, done
-
-
-
-
- delete from `user`
- where user_id = #{userId,jdbcType=INTEGER}
-
-
-
- insert into `user` (user_id, user_plan, done
- )
- values (#{userId,jdbcType=INTEGER}, #{userPlan,jdbcType=VARCHAR}, #{done,jdbcType=INTEGER}
- )
-
-
-
- insert into `user`
-
-
- user_id,
-
-
- user_plan,
-
-
- done,
-
-
-
-
- #{userId,jdbcType=INTEGER},
-
-
- #{userPlan,jdbcType=VARCHAR},
-
-
- #{done,jdbcType=INTEGER},
-
-
-
-
-
- update `user`
-
-
- user_plan = #{userPlan,jdbcType=VARCHAR},
-
-
- done = #{done,jdbcType=INTEGER},
-
-
- where user_id = #{userId,jdbcType=INTEGER}
-
-
-
- update `user`
- set user_plan = #{userPlan,jdbcType=VARCHAR},
- done = #{done,jdbcType=INTEGER}
- where user_id = #{userId,jdbcType=INTEGER}
-
-
-
-
\ No newline at end of file
diff --git a/src/test/java/com/scccy/springbootexample/SpringBootExample01ApplicationTests.java b/src/test/java/com/scccy/springbootexample/SpringBootExample01ApplicationTests.java
deleted file mode 100644
index f6e30d6..0000000
--- a/src/test/java/com/scccy/springbootexample/SpringBootExample01ApplicationTests.java
+++ /dev/null
@@ -1,13 +0,0 @@
-package com.scccy.springbootexample;
-
-import org.junit.jupiter.api.Test;
-import org.springframework.boot.test.context.SpringBootTest;
-
-@SpringBootTest
-class SpringBootExample01ApplicationTests {
-
- @Test
- void contextLoads() {
- }
-
-}
diff --git a/target/classes/application.yaml b/target/classes/application.yaml
deleted file mode 100644
index b18e650..0000000
--- a/target/classes/application.yaml
+++ /dev/null
@@ -1,49 +0,0 @@
-server:
- port: 11007
- address: 0.0.0.0
- servlet:
- context-path: /example
-
-spring:
- application:
- name: springBootExample01
- datasource:
- url: jdbc:mysql://192.168.32.166:3306/mybatis-example?useUnicode=true&characterEncoding=utf8&serverTimezone=UTC
- username: root
- password: asdsc88Q12
- driver-class-name: com.mysql.cj.jdbc.Driver
- #热部署
- devtools:
- restart:
- enabled: true #设置开启热部署
- additional-paths: src/main/java #重启目录
- freemarker:
- cache: false
-# 开启aop
- aop:
- auto: true
-
-
-
-
-mybatis:
- configuration:
- map-underscore-to-camel-case: true
- log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
- lazy-loading-enabled: true
- auto-mapping-behavior: FULL
- mapper-locations: classpath*:mapper/*.xml
- type-aliases-package: com.scccy.springbootexample.domain
- plugins:
- - com.github.pagehelper.PageInterceptor
-
-pagehelper:
- helper-dialect: mysql
- reasonable: true
- support-methods-arguments: true
-
-usershici:
- id: 1
- name: shici
- age: 18
-
diff --git a/target/classes/com/scccy/springbootexample01/SpringBootExample01Application.class b/target/classes/com/scccy/springbootexample01/SpringBootExample01Application.class
deleted file mode 100644
index bb56e25..0000000
Binary files a/target/classes/com/scccy/springbootexample01/SpringBootExample01Application.class and /dev/null differ
diff --git a/target/classes/com/scccy/springbootexample01/common/ResultData.class b/target/classes/com/scccy/springbootexample01/common/ResultData.class
deleted file mode 100644
index 91c57fe..0000000
Binary files a/target/classes/com/scccy/springbootexample01/common/ResultData.class and /dev/null differ
diff --git a/target/classes/com/scccy/springbootexample01/controller/UserController.class b/target/classes/com/scccy/springbootexample01/controller/UserController.class
deleted file mode 100644
index 594d5f6..0000000
Binary files a/target/classes/com/scccy/springbootexample01/controller/UserController.class and /dev/null differ
diff --git a/target/classes/com/scccy/springbootexample01/domain/User.class b/target/classes/com/scccy/springbootexample01/domain/User.class
deleted file mode 100644
index d6144f2..0000000
Binary files a/target/classes/com/scccy/springbootexample01/domain/User.class and /dev/null differ
diff --git a/target/classes/com/scccy/springbootexample01/handlerExption/ControllerExceptionHandler.class b/target/classes/com/scccy/springbootexample01/handlerExption/ControllerExceptionHandler.class
deleted file mode 100644
index 3b71f46..0000000
Binary files a/target/classes/com/scccy/springbootexample01/handlerExption/ControllerExceptionHandler.class and /dev/null differ
diff --git a/target/classes/com/scccy/springbootexample01/handlerExption/GlobalExceptionHandler$CustomException.class b/target/classes/com/scccy/springbootexample01/handlerExption/GlobalExceptionHandler$CustomException.class
deleted file mode 100644
index 22f490b..0000000
Binary files a/target/classes/com/scccy/springbootexample01/handlerExption/GlobalExceptionHandler$CustomException.class and /dev/null differ
diff --git a/target/classes/com/scccy/springbootexample01/handlerExption/GlobalExceptionHandler.class b/target/classes/com/scccy/springbootexample01/handlerExption/GlobalExceptionHandler.class
deleted file mode 100644
index 2eca6c7..0000000
Binary files a/target/classes/com/scccy/springbootexample01/handlerExption/GlobalExceptionHandler.class and /dev/null differ
diff --git a/target/classes/com/scccy/springbootexample01/handlerExption/ServiceExceptionHandler.class b/target/classes/com/scccy/springbootexample01/handlerExption/ServiceExceptionHandler.class
deleted file mode 100644
index 92ca344..0000000
Binary files a/target/classes/com/scccy/springbootexample01/handlerExption/ServiceExceptionHandler.class and /dev/null differ
diff --git a/target/classes/com/scccy/springbootexample01/handlerInterceptor/TokenInterceptor.class b/target/classes/com/scccy/springbootexample01/handlerInterceptor/TokenInterceptor.class
deleted file mode 100644
index 186444a..0000000
Binary files a/target/classes/com/scccy/springbootexample01/handlerInterceptor/TokenInterceptor.class and /dev/null differ
diff --git a/target/classes/com/scccy/springbootexample01/mapper/UserMapper.class b/target/classes/com/scccy/springbootexample01/mapper/UserMapper.class
deleted file mode 100644
index 7fc6647..0000000
Binary files a/target/classes/com/scccy/springbootexample01/mapper/UserMapper.class and /dev/null differ
diff --git a/target/classes/com/scccy/springbootexample01/service/UserService.class b/target/classes/com/scccy/springbootexample01/service/UserService.class
deleted file mode 100644
index 36e583f..0000000
Binary files a/target/classes/com/scccy/springbootexample01/service/UserService.class and /dev/null differ
diff --git a/target/classes/com/scccy/springbootexample01/service/impl/UserServiceImpl.class b/target/classes/com/scccy/springbootexample01/service/impl/UserServiceImpl.class
deleted file mode 100644
index 0044433..0000000
Binary files a/target/classes/com/scccy/springbootexample01/service/impl/UserServiceImpl.class and /dev/null differ
diff --git a/target/classes/mapper/UserMapper.xml b/target/classes/mapper/UserMapper.xml
deleted file mode 100644
index 598f549..0000000
--- a/target/classes/mapper/UserMapper.xml
+++ /dev/null
@@ -1,84 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- user_id, user_plan, done
-
-
-
-
- delete from `user`
- where user_id = #{userId,jdbcType=INTEGER}
-
-
-
- insert into `user` (user_id, user_plan, done
- )
- values (#{userId,jdbcType=INTEGER}, #{userPlan,jdbcType=VARCHAR}, #{done,jdbcType=INTEGER}
- )
-
-
-
- insert into `user`
-
-
- user_id,
-
-
- user_plan,
-
-
- done,
-
-
-
-
- #{userId,jdbcType=INTEGER},
-
-
- #{userPlan,jdbcType=VARCHAR},
-
-
- #{done,jdbcType=INTEGER},
-
-
-
-
-
- update `user`
-
-
- user_plan = #{userPlan,jdbcType=VARCHAR},
-
-
- done = #{done,jdbcType=INTEGER},
-
-
- where user_id = #{userId,jdbcType=INTEGER}
-
-
-
- update `user`
- set user_plan = #{userPlan,jdbcType=VARCHAR},
- done = #{done,jdbcType=INTEGER}
- where user_id = #{userId,jdbcType=INTEGER}
-
-
-
-
\ No newline at end of file
diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties
deleted file mode 100644
index 15015e7..0000000
--- a/target/maven-archiver/pom.properties
+++ /dev/null
@@ -1,3 +0,0 @@
-artifactId=springBootExample01
-groupId=com.scccy
-version=0.0.1-SNAPSHOT
diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
deleted file mode 100644
index 9f105cd..0000000
--- a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
+++ /dev/null
@@ -1,12 +0,0 @@
-com/scccy/springbootexample01/handlerInterceptor/TokenInterceptor.class
-com/scccy/springbootexample01/domain/User.class
-com/scccy/springbootexample01/handlerExption/GlobalExceptionHandler$CustomException.class
-com/scccy/springbootexample01/service/impl/UserServiceImpl.class
-com/scccy/springbootexample01/mapper/UserMapper.class
-com/scccy/springbootexample01/SpringBootExample01Application.class
-com/scccy/springbootexample01/handlerExption/ServiceExceptionHandler.class
-com/scccy/springbootexample01/service/UserService.class
-com/scccy/springbootexample01/controller/UserController.class
-com/scccy/springbootexample01/handlerExption/ControllerExceptionHandler.class
-com/scccy/springbootexample01/common/ResultData.class
-com/scccy/springbootexample01/handlerExption/GlobalExceptionHandler.class
diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
deleted file mode 100644
index f6acd10..0000000
--- a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
+++ /dev/null
@@ -1,11 +0,0 @@
-/home/project/springBootExample/springBootExample01/src/main/java/com/scccy/springbootexample01/common/ResultData.java
-/home/project/springBootExample/springBootExample01/src/main/java/com/scccy/springbootexample01/domain/User.java
-/home/project/springBootExample/springBootExample01/src/main/java/com/scccy/springbootexample01/SpringBootExample01Application.java
-/home/project/springBootExample/springBootExample01/src/main/java/com/scccy/springbootexample01/mapper/UserMapper.java
-/home/project/springBootExample/springBootExample01/src/main/java/com/scccy/springbootexample01/service/UserService.java
-/home/project/springBootExample/springBootExample01/src/main/java/com/scccy/springbootexample01/service/impl/UserServiceImpl.java
-/home/project/springBootExample/springBootExample01/src/main/java/com/scccy/springbootexample01/handlerExption/GlobalExceptionHandler.java
-/home/project/springBootExample/springBootExample01/src/main/java/com/scccy/springbootexample01/handlerInterceptor/TokenInterceptor.java
-/home/project/springBootExample/springBootExample01/src/main/java/com/scccy/springbootexample01/handlerExption/ControllerExceptionHandler.java
-/home/project/springBootExample/springBootExample01/src/main/java/com/scccy/springbootexample01/controller/UserController.java
-/home/project/springBootExample/springBootExample01/src/main/java/com/scccy/springbootexample01/handlerExption/ServiceExceptionHandler.java
diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
deleted file mode 100644
index 7a4afba..0000000
--- a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
+++ /dev/null
@@ -1 +0,0 @@
-com/scccy/springbootexample01/SpringBootExample01ApplicationTests.class
diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
deleted file mode 100644
index e59987d..0000000
--- a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
+++ /dev/null
@@ -1 +0,0 @@
-/home/project/springBootExample/springBootExample01/src/test/java/com/scccy/springbootexample01/SpringBootExample01ApplicationTests.java
diff --git a/target/springBootExample01-0.0.1-SNAPSHOT.jar b/target/springBootExample01-0.0.1-SNAPSHOT.jar
deleted file mode 100644
index f4fe4b0..0000000
Binary files a/target/springBootExample01-0.0.1-SNAPSHOT.jar and /dev/null differ
diff --git a/target/springBootExample01-0.0.1-SNAPSHOT.jar.original b/target/springBootExample01-0.0.1-SNAPSHOT.jar.original
deleted file mode 100644
index 322b87a..0000000
Binary files a/target/springBootExample01-0.0.1-SNAPSHOT.jar.original and /dev/null differ
diff --git a/target/test-classes/com/scccy/springbootexample01/SpringBootExample01ApplicationTests.class b/target/test-classes/com/scccy/springbootexample01/SpringBootExample01ApplicationTests.class
deleted file mode 100644
index 65853b0..0000000
Binary files a/target/test-classes/com/scccy/springbootexample01/SpringBootExample01ApplicationTests.class and /dev/null differ