Beans(DP)

/*http://acm.hdu.edu.cn/diy/diy_previewproblem.php?cid=19572&pid=1018
Beans

Time Limit : 2000/1000ms (Java/Other)   Memory Limit : 32768/32768K (Java/Other)
Total Submission(s) : 2   Accepted Submission(s) : 1
Font: Times New Roman | Verdana | Georgia
Font Size: ← →
Problem Description
Bean-eating is an interesting game, everyone owns an M*N matrix, which is filled with different qualities beans. Meantime, there is only one bean in any 1*1 grid. Now you want to eat the beans and collect the qualities, but everyone must obey by the following rules: if you eat the bean at the coordinate(x, y), you cant eat the beans anyway at the coordinates listed (if exiting): (x, y-1), (x, y+1), and the both rows whose abscissas are x-1 and x+1.

 

Now, how much qualities can you eat and then get ?
Input
There are a few cases. In each case, there are two integer M (row number) and N (column number). The next M lines each contain N integers, representing the qualities of the beans. We can make sure that the quality of bean isn't beyond 1000, and 1<=M*N<=200000.
Output
For each case, you just output the MAX qualities you can eat and then get.
Sample Input
4 6
11 0 7 5 13 9
78 4 81 6 22 4
1 40 9 34 16 10
11 22 0 33 39 6
Sample Output
242
Source
2009 Multi-University Training Contest 4 - Host by HDU
解析:这道题目一开始看的时候想复杂了。其实归根究底就是求最大和问题,而这个和有点曲折罢了,需要考虑相间条件。
1.首先优化每行,对每一行可以看做一个数列,第i行,即这个的数列相间的和的最大值保存成r[i]
2.然后同理求得数列的最大值即可
3.状态转移方程:f[i]=max(f[i-1],f[i-2]+a[i]);//选择相间隔的数,要么选择前一个舍弃当前的,要么选择当前=f[i-2]+a[i]
4.注意这里的间隔条件
*/

#include<stdio.h>
#include<string.h>
#include<algorithm>
#include<iostream>
using namespace std;
const int maxn=200000+5;
int  f[maxn];
int  r[maxn];
int  b[maxn];
int max(int x,int y)
{
    return x>y? x:y;
}
int findmax(int a[],int n)
{
    memset(f,0,sizeof(f));
    int ans,i;
    f[1]=a[1];
    for(i=2;i<=n;i++)
      f[i]=max(f[i-1],f[i-2]+a[i]);//选择相间隔的数,要么选择前一个舍弃当前的,要么选择当前=f[i-2]+a[i]
      return  f[n];
}
int main()
{
    int n,m,i,j;
   int ans,t;
     while(scanf("%d%d",&n,&m)!=EOF)
       {
       for(i=1;i<=n;i++)
       {
        for(j=1;j<=m;j++)//对于每行取间隔数进行优化
           {scanf("%d",&b[j]);
           }
            r[i]=findmax(b,m);

      }

      ans=findmax(r,n);   //在优化后每行最大值组成一组元素,再从中选出相间的数


        printf("%d\n",ans);
    }
    return 0;
}



EXCEPTION:java.lang.IllegalStateException: java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: Unable to load library '/tmp/io.woo.htmltopdf/wkhtmltox/0.12.5/libwkhtmltox.so': Native library (tmp/io.woo.htmltopdf/wkhtmltox/0.12.5/libwkhtmltox.so) not found in resource path ([jar:file:/home/app/dp-craft-process.jar!/BOOT-INF/classes!/, jar:file:/home/app/dp-craft-process.jar!/BOOT-INF/lib/platform-service-common-1.0.0-SNAPSHOT.jar!/, jar:file:/home/app/dp-craft-process.jar!/BOOT-INF/lib/spring-boot-2.5.12.jar!/, jar:file:/home/app/dp-craft-process.jar!/BOOT-INF/lib/logback-classic-1.2.11.jar!/, jar:file:/home/app/dp-craft-process.jar!/BOOT-INF/lib/logback-core-1.2.11.jar!/, jar:file:/home/app/dp-craft-process.jar!/BOOT-INF/lib/log4j-to-slf4j-2.17.2.jar!/, jar:file:/home/app/dp-craft-process.jar!/BOOT-INF/lib/log4j-api-2.17.2.jar!/, jar:file:/home/app/dp-craft-process.jar!/BOOT-INF/lib/jul-to-slf4j-1.7.36.jar!/, jar:file:/home/app/dp-craft-process.jar!/BOOT-INF/lib/jakarta.annotation-api-1.3.5.jar!/, jar:file:/home/app/dp-craft-process.jar!/BOOT-INF/lib/snakeyaml-1.28.jar!/, jar:file:/home/app/dp-craft-process.jar!/BOOT-INF/lib/spring-context-support-5.3.18.jar!/, jar:file:/home/app/dp-craft-process.jar!/BOOT-INF/lib/spring-beans-5.3.18.jar!/, jar:file:/home/app/dp-craft-process.jar!/BOOT-INF/lib/spring-context-5.3.18.jar!/, jar:file:/home/app/dp-craft-process.jar!/BOOT-INF/lib/spring-data-redis-2.5.10.jar!/, jar:file:/home/app/dp-craft-process.jar!/BOOT-INF/lib/spring-data-keyvalue-2.5.10.jar!/, jar:file:/home/app/dp-craft-process.jar!/BOOT-INF/lib/spring-data-commons-2.5.10.jar!/, jar:file:/home/app/dp-craft-process.jar!/BOOT-INF/lib/spring-tx-5.3.18.jar!/, jar:file:/home/app/dp-craft-process.jar!/BOOT-INF/lib/spring-oxm-5.3.18.jar!/, jar:file:/home/app/dp-craft-process.jar!/BOOT-INF/lib/spring-aop-5.3.18.jar!/, jar:file:/home/app/dp-craft-process.jar!/BOOT-INF/lib/lettuce-core-6.1.8.RELEASE.jar!/, jar:file:/home/app/dp-craft-process.jar!/BOOT-I
03-11
. ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.7.18) 2025-06-20 16:28:46.079 INFO 25272 --- [ restartedMain] com.zdww.tpgg.auth.AuthApplication : Starting AuthApplication using Java 1.8.0_361 on Bone with PID 25272 (D:\idea-workplace\hnszxc-service\tpgg-auth\target\classes started by jyouj in D:\idea-workplace\hnszxc-service) 2025-06-20 16:28:46.080 INFO 25272 --- [ restartedMain] com.zdww.tpgg.auth.AuthApplication : The following 1 profile is active: "dev" 2025-06-20 16:28:46.120 INFO 25272 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable 2025-06-20 16:28:46.121 INFO 25272 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' 2025-06-20 16:28:47.377 INFO 25272 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2025-06-20 16:28:47.379 INFO 25272 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. 2025-06-20 16:28:47.399 INFO 25272 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 5 ms. Found 0 Redis repository interfaces. 2025-06-20 16:28:47.512 WARN 25272 --- [ restartedMain] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[com.zdww.tpgg.auth]' package. Please check your configuration. 2025-06-20 16:28:47.628 INFO 25272 --- [ restartedMain] ptablePropertiesBeanFactoryPostProcessor : Post-processing PropertySource instances 2025-06-20 16:28:47.656 INFO 25272 --- [ restartedMain] c.u.j.EncryptablePropertySourceConverter : Converting PropertySource configurationProperties [org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertySource] to AOP Proxy 2025-06-20 16:28:47.657 INFO 25272 --- [ restartedMain] c.u.j.EncryptablePropertySourceConverter : Converting PropertySource servletConfigInitParams [org.springframework.core.env.PropertySource$StubPropertySource] to EncryptablePropertySourceWrapper 2025-06-20 16:28:47.657 INFO 25272 --- [ restartedMain] c.u.j.EncryptablePropertySourceConverter : Converting PropertySource servletContextInitParams [org.springframework.core.env.PropertySource$StubPropertySource] to EncryptablePropertySourceWrapper 2025-06-20 16:28:47.657 INFO 25272 --- [ restartedMain] c.u.j.EncryptablePropertySourceConverter : Converting PropertySource systemProperties [org.springframework.core.env.PropertiesPropertySource] to EncryptableMapPropertySourceWrapper 2025-06-20 16:28:47.657 INFO 25272 --- [ restartedMain] c.u.j.EncryptablePropertySourceConverter : Converting PropertySource systemEnvironment [org.springframework.boot.env.SystemEnvironmentPropertySourceEnvironmentPostProcessor$OriginAwareSystemEnvironmentPropertySource] to EncryptableMapPropertySourceWrapper 2025-06-20 16:28:47.657 INFO 25272 --- [ restartedMain] c.u.j.EncryptablePropertySourceConverter : Converting PropertySource random [org.springframework.boot.env.RandomValuePropertySource] to EncryptablePropertySourceWrapper 2025-06-20 16:28:47.657 INFO 25272 --- [ restartedMain] c.u.j.EncryptablePropertySourceConverter : Converting PropertySource Config resource 'class path resource [application-dev.yml]' via location 'optional:classpath:/' [org.springframework.boot.env.OriginTrackedMapPropertySource] to EncryptableMapPropertySourceWrapper 2025-06-20 16:28:47.657 INFO 25272 --- [ restartedMain] c.u.j.EncryptablePropertySourceConverter : Converting PropertySource Config resource 'class path resource [application.yml]' via location 'optional:classpath:/' [org.springframework.boot.env.OriginTrackedMapPropertySource] to EncryptableMapPropertySourceWrapper 2025-06-20 16:28:47.657 INFO 25272 --- [ restartedMain] c.u.j.EncryptablePropertySourceConverter : Converting PropertySource devtools [org.springframework.core.env.MapPropertySource] to EncryptableMapPropertySourceWrapper 2025-06-20 16:28:47.670 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfig' of type [com.gsww.jzfp.security.common.shiro.config.ShiroConfig$$EnhancerBySpringCGLIB$$db63f5bd] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:47.686 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'shiroSessionConfiguration' of type [com.gsww.jzfp.security.common.shiro.config.ShiroSessionConfiguration$$EnhancerBySpringCGLIB$$6f9ccbbb] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:47.693 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'defaultSessionManager' of type [org.apache.shiro.web.session.mgt.DefaultWebSessionManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:47.708 INFO 25272 --- [ restartedMain] c.u.j.r.DefaultLazyPropertyResolver : Property Resolver custom Bean not found with name 'encryptablePropertyResolver'. Initializing Default Property Resolver 2025-06-20 16:28:47.709 INFO 25272 --- [ restartedMain] c.u.j.d.DefaultLazyPropertyDetector : Property Detector custom Bean not found with name 'encryptablePropertyDetector'. Initializing Default Property Detector 2025-06-20 16:28:47.712 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'jdpSecurityProperties' of type [com.gsww.jzfp.security.common.shiro.config.JdpSecurityProperties$$EnhancerBySpringCGLIB$$d7740153] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:47.729 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'authServerLoginRealm' of type [com.gsww.jzfp.security.common.shiro.loginAuth.AuthServerLoginRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:47.746 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'authServerTokenRealm' of type [com.gsww.jzfp.security.common.shiro.tokenAuth.AuthServerTokenRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:47.746 INFO 25272 --- [ restartedMain] c.g.j.s.common.shiro.config.ShiroConfig : -------shiro securityManager 初始化 shiroCacheType=redis 2025-06-20 16:28:48.430 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'rememberMeCookie' of type [org.apache.shiro.web.servlet.SimpleCookie] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.432 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'rememberMeManager' of type [org.apache.shiro.web.mgt.CookieRememberMeManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.433 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.437 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'redisConfiguration' of type [com.zdww.tpgg.auth.config.RedisConfiguration$$EnhancerBySpringCGLIB$$bf92ec21] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.443 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'spring.redis-org.springframework.boot.autoconfigure.data.redis.RedisProperties' of type [org.springframework.boot.autoconfigure.data.redis.RedisProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.446 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.data.redis.LettuceConnectionConfiguration' of type [org.springframework.boot.autoconfigure.data.redis.LettuceConnectionConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.457 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.actuate.autoconfigure.metrics.redis.LettuceMetricsAutoConfiguration' of type [org.springframework.boot.actuate.autoconfigure.metrics.redis.LettuceMetricsAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.457 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.actuate.autoconfigure.metrics.export.simple.SimpleMetricsExportAutoConfiguration' of type [org.springframework.boot.actuate.autoconfigure.metrics.export.simple.SimpleMetricsExportAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.458 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'management.metrics.export.simple-org.springframework.boot.actuate.autoconfigure.metrics.export.simple.SimpleProperties' of type [org.springframework.boot.actuate.autoconfigure.metrics.export.simple.SimpleProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.462 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'simpleConfig' of type [org.springframework.boot.actuate.autoconfigure.metrics.export.simple.SimplePropertiesConfigAdapter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.462 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.actuate.autoconfigure.metrics.MetricsAutoConfiguration' of type [org.springframework.boot.actuate.autoconfigure.metrics.MetricsAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.463 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'micrometerClock' of type [io.micrometer.core.instrument.Clock$1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.477 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'simpleMeterRegistry' of type [io.micrometer.core.instrument.simple.SimpleMeterRegistry] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.479 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'micrometerOptions' of type [io.lettuce.core.metrics.MicrometerOptions] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.480 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'lettuceMetrics' of type [org.springframework.boot.actuate.autoconfigure.metrics.redis.LettuceMetricsAutoConfiguration$$Lambda$450/1519720651] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.541 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'lettuceClientResources' of type [io.lettuce.core.resource.DefaultClientResources] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.627 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'redisConnectionFactory' of type [org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.646 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'cacheManager' of type [org.springframework.data.redis.cache.RedisCacheManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.647 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'loginFailLimitService' of type [com.gsww.jzfp.security.server.modules.sys.service.LoginFailLimitService] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.649 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'com.gsww.jdp.boot.encrypt.JdpEncryptAutoConfiguration' of type [com.gsww.jdp.boot.encrypt.JdpEncryptAutoConfiguration$$EnhancerBySpringCGLIB$$dd4e14e5] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.653 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'jdp.encrypt-com.gsww.jdp.boot.encrypt.properties.EncryptProperties' of type [com.gsww.jdp.boot.encrypt.properties.EncryptProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.656 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'encryptHandle' of type [com.gsww.jdp.core.crypto.aes.AesEncryptHandleImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.657 INFO 25272 --- [ restartedMain] c.g.j.s.common.shiro.config.ShiroConfig : -------shiro ShiroFilterFactoryBean 初始化 2025-06-20 16:28:48.665 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'fixedSecretKeyProvider' of type [com.gsww.jdp.boot.encrypt.core.FixedSecretKeyProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.668 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'secretKeyStore' of type [com.gsww.jdp.boot.encrypt.core.SecretKeyStoreDefaultImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.669 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'headerSecretKeyProvider' of type [com.gsww.jdp.boot.encrypt.core.HeaderSecretKeyProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:48.670 INFO 25272 --- [ restartedMain] c.g.j.s.c.s.t.AuthServerTokenFilter : 注意:重写AuthServerTokenFilter,依赖jzfp-security:1.2.5 2025-06-20 16:28:48.699 INFO 25272 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-20 16:28:49.076 INFO 25272 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 9300 (http) 2025-06-20 16:28:49.083 INFO 25272 --- [ restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2025-06-20 16:28:49.083 INFO 25272 --- [ restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.83] 2025-06-20 16:28:49.171 INFO 25272 --- [ restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2025-06-20 16:28:49.171 INFO 25272 --- [ restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 3050 ms 2025-06-20 16:28:49.522 INFO 25272 --- [ restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 2025-06-20 16:28:49.606 INFO 25272 --- [ restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource 2025-06-20 16:28:49.635 INFO 25272 --- [ restartedMain] c.u.j.encryptor.DefaultLazyEncryptor : String Encryptor custom Bean not found with name 'jasyptStringEncryptor'. Initializing Default String Encryptor 2025-06-20 16:28:49.637 INFO 25272 --- [ restartedMain] c.u.j.encryptor.DefaultLazyEncryptor : Encryptor config not found for property jasypt.encryptor.algorithm, using default value: PBEWithMD5AndDES 2025-06-20 16:28:49.637 INFO 25272 --- [ restartedMain] c.u.j.encryptor.DefaultLazyEncryptor : Encryptor config not found for property jasypt.encryptor.keyObtentionIterations, using default value: 1000 2025-06-20 16:28:49.637 INFO 25272 --- [ restartedMain] c.u.j.encryptor.DefaultLazyEncryptor : Encryptor config not found for property jasypt.encryptor.poolSize, using default value: 1 2025-06-20 16:28:49.637 INFO 25272 --- [ restartedMain] c.u.j.encryptor.DefaultLazyEncryptor : Encryptor config not found for property jasypt.encryptor.providerName, using default value: null 2025-06-20 16:28:49.637 INFO 25272 --- [ restartedMain] c.u.j.encryptor.DefaultLazyEncryptor : Encryptor config not found for property jasypt.encryptor.providerClassName, using default value: null 2025-06-20 16:28:49.637 INFO 25272 --- [ restartedMain] c.u.j.encryptor.DefaultLazyEncryptor : Encryptor config not found for property jasypt.encryptor.saltGeneratorClassname, using default value: org.jasypt.salt.RandomSaltGenerator 2025-06-20 16:28:49.637 INFO 25272 --- [ restartedMain] c.u.j.encryptor.DefaultLazyEncryptor : Encryptor config not found for property jasypt.encryptor.stringOutputType, using default value: base64 2025-06-20 16:28:49.692 WARN 25272 --- [ restartedMain] c.a.druid.pool.DruidAbstractDataSource : oracle.jdbc.driver.OracleDriver is deprecated.Having use oracle.jdbc.OracleDriver. 2025-06-20 16:28:49.732 WARN 25272 --- [ restartedMain] com.alibaba.druid.pool.DruidDataSource : removeAbandoned is true, not use in production. 2025-06-20 16:28:49.737 INFO 25272 --- [ restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited 2025-06-20 16:28:50.070 WARN 25272 --- [ restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'documentationPluginsBootstrapper' defined in URL [jar:file:/E:/Program%20Files/apache-maven-3.9.1/rep/io/springfox/springfox-spring-web/3.0.0/springfox-spring-web-3.0.0.jar!/springfox/documentation/spring/web/plugins/DocumentationPluginsBootstrapper.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'webMvcRequestHandlerProvider' defined in URL [jar:file:/E:/Program%20Files/apache-maven-3.9.1/rep/io/springfox/springfox-spring-webmvc/3.0.0/springfox-spring-webmvc-3.0.0.jar!/springfox/documentation/spring/web/plugins/WebMvcRequestHandlerProvider.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Invalid mapping on handler class [com.gsww.jzfp.security.server.modules.sys.controller.RestLoginController]: public java.lang.String com.gsww.jzfp.security.common.base.BaseController.bindException() 2025-06-20 16:28:50.072 INFO 25272 --- [ restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... 2025-06-20 16:28:50.082 INFO 25272 --- [ restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed 2025-06-20 16:28:50.102 INFO 25272 --- [ restartedMain] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2025-06-20 16:28:50.105 INFO 25272 --- [eate-1297110671] com.alibaba.druid.pool.DruidDataSource : put physical connection to pool failed. 2025-06-20 16:28:50.117 INFO 25272 --- [ restartedMain] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2025-06-20 16:28:50.137 ERROR 25272 --- [ restartedMain] o.s.boot.SpringApplication : Application run failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'documentationPluginsBootstrapper' defined in URL [jar:file:/E:/Program%20Files/apache-maven-3.9.1/rep/io/springfox/springfox-spring-web/3.0.0/springfox-spring-web-3.0.0.jar!/springfox/documentation/spring/web/plugins/DocumentationPluginsBootstrapper.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'webMvcRequestHandlerProvider' defined in URL [jar:file:/E:/Program%20Files/apache-maven-3.9.1/rep/io/springfox/springfox-spring-webmvc/3.0.0/springfox-spring-webmvc-3.0.0.jar!/springfox/documentation/spring/web/plugins/WebMvcRequestHandlerProvider.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Invalid mapping on handler class [com.gsww.jzfp.security.server.modules.sys.controller.RestLoginController]: public java.lang.String com.gsww.jzfp.security.common.base.BaseController.bindException() at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:801) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:224) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:929) ~[spring-context-5.3.31.jar:5.3.31] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:591) ~[spring-context-5.3.31.jar:5.3.31] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) ~[spring-boot-2.7.18.jar:2.7.18] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732) [spring-boot-2.7.18.jar:2.7.18] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:409) [spring-boot-2.7.18.jar:2.7.18] at org.springframework.boot.SpringApplication.run(SpringApplication.java:308) [spring-boot-2.7.18.jar:2.7.18] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300) [spring-boot-2.7.18.jar:2.7.18] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1289) [spring-boot-2.7.18.jar:2.7.18] at com.zdww.tpgg.auth.AuthApplication.main(AuthApplication.java:16) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_361] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_361] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_361] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_361] at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:50) [spring-boot-devtools-2.7.18.jar:2.7.18] Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'webMvcRequestHandlerProvider' defined in URL [jar:file:/E:/Program%20Files/apache-maven-3.9.1/rep/io/springfox/springfox-spring-webmvc/3.0.0/springfox-spring-webmvc-3.0.0.jar!/springfox/documentation/spring/web/plugins/WebMvcRequestHandlerProvider.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Invalid mapping on handler class [com.gsww.jzfp.security.server.modules.sys.controller.RestLoginController]: public java.lang.String com.gsww.jzfp.security.common.base.BaseController.bindException() at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:801) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:224) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1609) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1573) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1462) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1349) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:911) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:788) ~[spring-beans-5.3.31.jar:5.3.31] ... 24 common frames omitted Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Invalid mapping on handler class [com.gsww.jzfp.security.server.modules.sys.controller.RestLoginController]: public java.lang.String com.gsww.jzfp.security.common.base.BaseController.bindException() at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1804) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1609) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1573) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1462) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1349) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:911) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:788) ~[spring-beans-5.3.31.jar:5.3.31] ... 41 common frames omitted Caused by: java.lang.IllegalStateException: Invalid mapping on handler class [com.gsww.jzfp.security.server.modules.sys.controller.RestLoginController]: public java.lang.String com.gsww.jzfp.security.common.base.BaseController.bindException() at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.lambda$detectHandlerMethods$1(AbstractHandlerMethodMapping.java:288) ~[spring-webmvc-5.3.31.jar:5.3.31] at org.springframework.core.MethodIntrospector.lambda$selectMethods$0(MethodIntrospector.java:74) ~[spring-core-5.3.31.jar:5.3.31] at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:367) ~[spring-core-5.3.31.jar:5.3.31] at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:375) ~[spring-core-5.3.31.jar:5.3.31] at org.springframework.core.MethodIntrospector.selectMethods(MethodIntrospector.java:72) ~[spring-core-5.3.31.jar:5.3.31] at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.detectHandlerMethods(AbstractHandlerMethodMapping.java:281) ~[spring-webmvc-5.3.31.jar:5.3.31] at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.processCandidateBean(AbstractHandlerMethodMapping.java:266) ~[spring-webmvc-5.3.31.jar:5.3.31] at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.initHandlerMethods(AbstractHandlerMethodMapping.java:225) ~[spring-webmvc-5.3.31.jar:5.3.31] at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.afterPropertiesSet(AbstractHandlerMethodMapping.java:213) ~[spring-webmvc-5.3.31.jar:5.3.31] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.afterPropertiesSet(RequestMappingHandlerMapping.java:205) ~[spring-webmvc-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863) ~[spring-beans-5.3.31.jar:5.3.31] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800) ~[spring-beans-5.3.31.jar:5.3.31] ... 55 common frames omitted Caused by: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy at sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:724) ~[na:1.8.0_361] at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:531) ~[na:1.8.0_361] at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:355) ~[na:1.8.0_361] at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:286) ~[na:1.8.0_361] at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120) ~[na:1.8.0_361] at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72) ~[na:1.8.0_361] at java.lang.reflect.Executable.declaredAnnotations(Executable.java:599) ~[na:1.8.0_361] at java.lang.reflect.Executable.declaredAnnotations(Executable.java:597) ~[na:1.8.0_361] at java.lang.reflect.Executable.getDeclaredAnnotations(Executable.java:588) ~[na:1.8.0_361] at java.lang.reflect.Method.getDeclaredAnnotations(Method.java:630) ~[na:1.8.0_361] at org.springframework.core.annotation.AnnotationsScanner.getDeclaredAnnotations(AnnotationsScanner.java:454) ~[spring-core-5.3.31.jar:5.3.31] at org.springframework.core.annotation.AnnotationsScanner.isKnownEmpty(AnnotationsScanner.java:492) ~[spring-core-5.3.31.jar:5.3.31] at org.springframework.core.annotation.TypeMappedAnnotations.from(TypeMappedAnnotations.java:251) ~[spring-core-5.3.31.jar:5.3.31] at org.springframework.core.annotation.MergedAnnotations.from(MergedAnnotations.java:351) ~[spring-core-5.3.31.jar:5.3.31] at org.springframework.core.annotation.MergedAnnotations.from(MergedAnnotations.java:330) ~[spring-core-5.3.31.jar:5.3.31] at org.springframework.core.annotation.AnnotatedElementUtils.findAnnotations(AnnotatedElementUtils.java:800) ~[spring-core-5.3.31.jar:5.3.31] at org.springframework.core.annotation.AnnotatedElementUtils.findMergedAnnotation(AnnotatedElementUtils.java:642) ~[spring-core-5.3.31.jar:5.3.31] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.createRequestMappingInfo(RequestMappingHandlerMapping.java:321) ~[spring-webmvc-5.3.31.jar:5.3.31] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.getMappingForMethod(RequestMappingHandlerMapping.java:284) ~[spring-webmvc-5.3.31.jar:5.3.31] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.getMappingForMethod(RequestMappingHandlerMapping.java:76) ~[spring-webmvc-5.3.31.jar:5.3.31] at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.lambda$detectHandlerMethods$1(AbstractHandlerMethodMapping.java:284) ~[spring-webmvc-5.3.31.jar:5.3.31] ... 66 common frames omitted
06-22
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值