Maven打包错误!!!!

Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.5.9.RELEASE:repackage (default) on project scf-core: Execution default of goal org.springframework.boot:spring-boot-maven-plugin:1.5.9.RELEASE:repackage failed: Plugin org.springframework.boot:spring-boot-maven-plugin:1.5.9.RELEASE or one of its dependencies could not be resolved: Failed to collect dependencies at org.springframework.boot:spring-boot-maven-plugin:jar:1.5.9.RELEASE -> org.apache.maven.plugins:maven-shade-plugin:jar:2.2 -> org.vafer:jdependency:jar:0.7 -> commons-io:commons-io:jar:1.3.2: Failed to read artifact descriptor for commons-io:commons-io:jar:1.3.2: Could not transfer artifact commons-io:commons-io:pom:1.3.2 from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version -> [Help 1]

1个回答

<plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
求解答maven项目的打包问题!!!
maven项目打包出来只有jar包,没有war包,就没法部署到tomcat下进行发布处理, 配置war的配置文件我从网上找了,也改了,但一改就出现错误,请教各位大神,如何解决!!!
maven 打包错误,请求帮助
] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project HR: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.2:war failed: A required class was missing while executing org.apache.maven.plugins:maven-war-plugin:2.2:war: Lorg/apache/maven/archiver/MavenArchiveConfiguration;
maven 打包报如下错误
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project ship-base-web: Compilation failure at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:729) at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 20 more [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
maven 打包时出现错误
错误提示如下所示: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project lmsportal-admin: Error assembling WAR: webxml attribut e is required (or pre-existing WEB-INF/web.xml if executing in update mode) -> [ Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE xception 使用的MyEclipse 10.7,Maven3.1.0,项目是从SVN检出的。
maven项目打包遇到错误
![图片说明](https://img-ask.csdn.net/upload/201912/16/1576489744_998852.jpg) 我的springboot项目在打成war包时会有一个js文件报错,错误包括:invalid property id、missing name after . +具体语句、syntax error、invalid return等,有没有大神遇到过或者有思路的,看了一下午,百度了很多也没有解决。
【求助】Maven 打包时出现错误,webxml attribute is required
我从SVN上检出的项目,在打包的时候出现了以下的错误: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:w ar (default-war) on project lmsportal-admin: Error assembling WAR: webxml attrib ute is required (or pre-existing WEB-INF/web.xml if executing in update mode) -> [Help 1] 有没有哪位出现过类似的错误?求指点一下,百度了一天了,头昏脑涨的问题还是没能解决。
springboot 项目在本地启动正常,maven打包运行包如下错误,在项目中去掉 @KafkaListener注解打包运行不会报错,怀疑是jar依赖的问题,求解!
[2019-11-25 14:53:48.299][main][KEY:] INFO- Stopping service [Tomcat] -[org.apache.juli.logging.DirectJDKLog:log] [DirectJDKLog.java:180] [2019-11-25 14:53:48.499][localhost-startStop-2][KEY:] WARN- The web application [ROOT] appears to have started a thread named [logback-1] but ha s failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.base@11.0.3/jdk.internal.misc.Unsafe.park(Native Method) java.base@11.0.3/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234) java.base@11.0.3/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123) java.base@11.0.3/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182) java.base@11.0.3/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899) java.base@11.0.3/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054) java.base@11.0.3/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114) java.base@11.0.3/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) java.base@11.0.3/java.lang.Thread.run(Thread.java:834) -[org.apache.juli.logging.DirectJDKLog:log] [DirectJDKLog.java:180] [2019-11-25 14:53:48.503][localhost-startStop-2][KEY:] WARN- The web application [ROOT] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.base@11.0.3/java.lang.Object.wait(Native Method) java.base@11.0.3/java.util.TimerThread.mainLoop(Timer.java:553) java.base@11.0.3/java.util.TimerThread.run(Timer.java:506) -[org.apache.juli.logging.DirectJDKLog:log] [DirectJDKLog.java:180] [2019-11-25 14:53:48.504][localhost-startStop-2][KEY:] WARN- The web application [ROOT] appears to have started a thread named [com.alibaba.nacos .naming.client.listener] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.base@11.0.3/jdk.internal.misc.Unsafe.park(Native Method) java.base@11.0.3/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234) java.base@11.0.3/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123) java.base@11.0.3/java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:458) com.alibaba.nacos.client.naming.core.EventDispatcher$Notifier.run(EventDispatcher.java:114) java.base@11.0.3/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) java.base@11.0.3/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) java.base@11.0.3/java.lang.Thread.run(Thread.java:834) -[org.apache.juli.logging.DirectJDKLog:log] [DirectJDKLog.java:180] [2019-11-25 14:53:48.508][localhost-startStop-2][KEY:] WARN- The web application [ROOT] appears to have started a thread named [com.alibaba.nacos .naming.beat.sender] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.base@11.0.3/jdk.internal.misc.Unsafe.park(Native Method) java.base@11.0.3/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234) java.base@11.0.3/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123) java.base@11.0.3/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182) java.base@11.0.3/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899) java.base@11.0.3/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054) java.base@11.0.3/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114) java.base@11.0.3/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) java.base@11.0.3/java.lang.Thread.run(Thread.java:834) -[org.apache.juli.logging.DirectJDKLog:log] [DirectJDKLog.java:180] [2019-11-25 14:53:48.514][localhost-startStop-2][KEY:] WARN- The web application [ROOT] appears to have started a thread named [com.alibaba.nacos .naming.beat.sender] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.base@11.0.3/jdk.internal.misc.Unsafe.park(Native Method) java.base@11.0.3/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194) java.base@11.0.3/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081) java.base@11.0.3/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1177) java.base@11.0.3/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899) java.base@11.0.3/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054) java.base@11.0.3/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114) java.base@11.0.3/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) java.base@11.0.3/java.lang.Thread.run(Thread.java:834) -[org.apache.juli.logging.DirectJDKLog:log] [DirectJDKLog.java:180] [2019-11-25 14:53:48.525][localhost-startStop-2][KEY:] WARN- The web application [ROOT] appears to have started a thread named [com.alibaba.nacos .naming.failover] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.base@11.0.3/jdk.internal.misc.Unsafe.park(Native Method) java.base@11.0.3/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234) java.base@11.0.3/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123) java.base@11.0.3/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182) java.base@11.0.3/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899) java.base@11.0.3/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054) java.base@11.0.3/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114) java.base@11.0.3/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) java.base@11.0.3/java.lang.Thread.run(Thread.java:834) -[org.apache.juli.logging.DirectJDKLog:log] [DirectJDKLog.java:180] [2019-11-25 14:53:48.531][localhost-startStop-2][KEY:] WARN- The web application [ROOT] appears to have started a thread named [com.alibaba.nacos .naming.push.receiver] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.base@11.0.3/java.net.DualStackPlainDatagramSocketImpl.socketReceiveOrPeekData(Native Method) java.base@11.0.3/java.net.DualStackPlainDatagramSocketImpl.receive0(DualStackPlainDatagramSocketImpl.java:124) java.base@11.0.3/java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:181) java.base@11.0.3/java.net.DatagramSocket.receive(DatagramSocket.java:814) java.base@11.0.3/java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.j java.base@11.0.3/java.net.DatagramSocket.receive(DatagramSocket.java:814) com.alibaba.nacos.client.naming.core.PushReceiver.run(PushReceiver.java:73) java.base@11.0.3/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) java.base@11.0.3/java.util.concurrent.FutureTask.run(FutureTask.java:264) java.base@11.0.3/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Scheduled java.base@11.0.3/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) java.base@11.0.3/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) java.base@11.0.3/java.lang.Thread.run(Thread.java:834) -[org.apache.juli.logging.DirectJDKLog:log]
maven打包本地jar包出现问题,求解答
maven本地仓库install外部的jar包,出现这个错误 [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-clean-plugin:2.5: Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.5 Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.4/maven-install-plugin-2.4.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.4: Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-install-plugin:jar:2.4 Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.3: Plugin org.apache.maven.plugins:maven-site-plugin:3.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-site-plugin:jar:3.3 Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-5/maven-assembly-plugin-2.2-beta-5.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.8/maven-dependency-plugin-2.8.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:2.8: Plugin org.apache.maven.plugins:maven-dependency-plugin:2.8 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.5.3/maven-release-plugin-2.5.3.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.5.3: Plugin org.apache.maven.plugins:maven-release-plugin:2.5.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-release-plugin:jar:2.5.3 Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml [WARNING] Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version [WARNING] Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version [WARNING] Failure to transfer org.apache.maven.plugins/maven-metadata.xml from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version [WARNING] Failure to transfer org.codehaus.mojo/maven-metadata.xml from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.191 s [INFO] Finished at: 2018-07-25T21:57:45+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] No plugin found for prefix 'install' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\Administrator\.m2\repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException
springboot +shiro+maven 打包运行项目报错
运行登录的时候报下边错误,大神能给看看嘛? ===2019-12-10 13:31:07.250 WARN org.apache.shiro.authc.AbstractAuthenticator Line:216 - Authentication failed for token submission [org.apache.shiro.authc.UsernamePasswordToken - root, rememberMe=false (0:0:0:0:0:0:0:1)]. Possible unexpected error? (Typical or expected login exceptions should extend from AuthenticationException). java.lang.ClassCastException: class org.apache.shiro.authc.UsernamePasswordToken cannot be cast to class com.qiyuansoft.unicorn.common.realm.QYToken (org.apache.shiro.authc.UsernamePasswordToken and com.qiyuansoft.unicorn.common.realm.QYToken are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @651745d7) at com.qiyuansoft.unicorn.common.realm.QYLoginRealm.doGetAuthenticationInfo(QYLoginRealm.java:149) at org.apache.shiro.realm.AuthenticatingRealm.getAuthenticationInfo(AuthenticatingRealm.java:571) at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doSingleRealmAuthentication(ModularRealmAuthenticator.java:180) at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:267) at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198) at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106) at org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:274) at org.apache.shiro.subject.support.DelegatingSubject.login(DelegatingSubject.java:260) at org.apache.shiro.web.filter.authc.AuthenticatingFilter.executeLogin(AuthenticatingFilter.java:53) at org.apache.shiro.web.filter.authc.FormAuthenticationFilter.onAccessDenied(FormAuthenticationFilter.java:154) at org.apache.shiro.web.filter.AccessControlFilter.onAccessDenied(AccessControlFilter.java:133) at org.apache.shiro.web.filter.AccessControlFilter.onPreHandle(AccessControlFilter.java:162) at org.apache.shiro.web.filter.PathMatchingFilter.isFilterChainContinued(PathMatchingFilter.java:203) at org.apache.shiro.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter.java:178) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:131) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.boot.web.servlet.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:130) at org.springframework.boot.web.servlet.support.ErrorPageFilter.access$000(ErrorPageFilter.java:66) at org.springframework.boot.web.servlet.support.ErrorPageFilter$1.doFilterInternal(ErrorPageFilter.java:105) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.springframework.boot.web.servlet.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:123) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:834) ===2019-12-10 13:31:07.253 DEBUG org.apache.shiro.web.servlet.SimpleCookie Line:226 - Added HttpServletResponse Cookie [QYrememberMe=deleteMe; Path=/; Max-Age=0; Expires=Mon, 09-Dec-2019 05:31:07 GMT] ===2019-12-10 13:31:07.254 DEBUG org.apache.shiro.web.filter.authc.FormAuthenticationFilter Line:206 - Authentication exception org.apache.shiro.authc.AuthenticationException: Authentication failed for token submission [org.apache.shiro.authc.UsernamePasswordToken - root, rememberMe=false (0:0:0:0:0:0:0:1)]. Possible unexpected error? (Typical or expected login exceptions should extend from AuthenticationException). at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:214) at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106) at org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:274) at org.apache.shiro.subject.support.DelegatingSubject.login(DelegatingSubject.java:260) at org.apache.shiro.web.filter.authc.AuthenticatingFilter.executeLogin(AuthenticatingFilter.java:53) at org.apache.shiro.web.filter.authc.FormAuthenticationFilter.onAccessDenied(FormAuthenticationFilter.java:154) at org.apache.shiro.web.filter.AccessControlFilter.onAccessDenied(AccessControlFilter.java:133) at org.apache.shiro.web.filter.AccessControlFilter.onPreHandle(AccessControlFilter.java:162) at org.apache.shiro.web.filter.PathMatchingFilter.isFilterChainContinued(PathMatchingFilter.java:203) at org.apache.shiro.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter.java:178) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:131) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.boot.web.servlet.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:130) at org.springframework.boot.web.servlet.support.ErrorPageFilter.access$000(ErrorPageFilter.java:66) at org.springframework.boot.web.servlet.support.ErrorPageFilter$1.doFilterInternal(ErrorPageFilter.java:105) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.springframework.boot.web.servlet.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:123) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.ClassCastException: class org.apache.shiro.authc.UsernamePasswordToken cannot be cast to class com.qiyuansoft.unicorn.common.realm.QYToken (org.apache.shiro.authc.UsernamePasswordToken and com.qiyuansoft.unicorn.common.realm.QYToken are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @651745d7) at com.qiyuansoft.unicorn.common.realm.QYLoginRealm.doGetAuthenticationInfo(QYLoginRealm.java:149) at org.apache.shiro.realm.AuthenticatingRealm.getAuthenticationInfo(AuthenticatingRealm.java:571) at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doSingleRealmAuthentication(ModularRealmAuthenticator.java:180) at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:267) at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198) ... 67 common frames omitted ===2019-12-10 13:31:07.281 DEBUG org.apache.shiro.session.mgt.DefaultSessionManager Line:218 - Unable to resolve session ID from SessionKey [org.apache.shiro.web.session.mgt.WebSessionKey@47af0345]. Returning null to indicate a session could not be found.
在控制台上maven打包报错。
楼主刚看徐晓斌的《maven实战》,正在控制台上鼓捣maven呢,mvn clean compile,mvn clean test也成功,然后mvn clean package打包也成功,但是由于打出来的Jar包没有指定main方法的位置,我就按照书上的案例,加入maven-shade-plugin插件,在pom.xml加入这话话,一直打包都是错误的。 pom.xml文件配置如下: ``` <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>xx.xx.xxx</groupId> <artifactId>hello-maven</artifactId> <version>1.0-SNAPSHOT</version> <packaging>jar</packaging> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>1.2.1</version> <configuration> <transformers> <transformer implementation = "org.apache.maven.plugins.shade.resource.MainifestResourceTransformer"> <mainClass>xx.xxx.xxx.hellomaven.App</mainClass> </transformer> </transformers> </configuration> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project> ``` 控制台报错信息如下: ``` [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.731s [INFO] Finished at: Tue Mar 29 11:40:17 CST 2016 [INFO] Final Memory: 10M/24M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:1.2.1 :shade (default) on project hello-maven: Unable to parse configuration of mojo o rg.apache.maven.plugins:maven-shade-plugin:1.2.1:shade: ClassNotFoundException: Class name which was explicitly given in configuration using 'implementation' at tribute: 'org.apache.maven.plugins.shade.resource.MainifestResourceTransformer' cannot be loaded -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginConfigur ationException ``` ~\m2\repository\org\apache\maven\plugins\maven-compiler-plugin 里面居然是2.3.2版本,我的本地仓库下载下载下来的不是指定的那个1.2.1版本,这是怎么回事?
maven install 命令错误
![图片说明](https://img-ask.csdn.net/upload/201910/02/1570024354_752653.png) 刚学maven,没有在eclipse上面运行,就是在命令行里面运行了一下,maven别的命令都没问题,可以编译也可以测试,打包,就install有问题。求助
maven打包报错Unsupported major.minor version 51.0
我把eclipse换成jdk1.6,系统环境换成jdk1.6但是maven打包时 还是报下面的错误,求大神指导 Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401) at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:254) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239) at org.codehaus.plexus.classworlds.launcher.Launcher.getMainClass(Launcher.java:144) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:266) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
使用编辑器打包maven项目报数组越界错误
创建了一个spring boot项目,用eclipse执行maven install的时候报数组越界错误,使用idea和直接用cmd命令执行也是报同样的错,有没有同行遇到过啊 ![图片说明](https://img-ask.csdn.net/upload/201906/05/1559744773_940719.png) 这是把maven编译时候的明细日志打印出来的截图 ![图片说明](https://img-ask.csdn.net/upload/201906/05/1559746206_617809.png)
maven打包的springboot项目运行出错
mvn package无错误 java -jar target/eureka-server.jar ``` Exception in thread "main" java.lang.IllegalAccessException: Class org.springframework.boot.loader.MainMethodRunner can not access a member of class cn.com.smartning.cloudproject.eurekaserver.EurekaServerApplication with modifiers "public static" at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:102) at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:296) at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:288) at java.lang.reflect.Method.invoke(Method.java:491) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51) ```
Maven 项目打包上传服务器的时候出现问题 急急急!
![图片说明](https://img-ask.csdn.net/upload/201603/18/1458300160_834217.png) 用下面的命令传到服务器的时候出现了下面的错误,求大神指导 clean package deploy 。。。。。。 [INFO] --- maven-install-plugin:2.4:install (default-install) @ DEMO --- [INFO] Installing E:\WORK\DEMO\target\DEMO.jar to C:\Users\Administrator\.m2\repository\com\cmcc\dsp\open\client\DEMO\0.0.5-SNAPSHOT\DEMO-0.0.5-SNAPSHOT.jar [INFO] Installing E:\WORK\DEMO\pom.xml to C:\Users\Administrator\.m2\repository\com\cmcc\dsp\open\client\DEMO\0.0.5-SNAPSHOT\DEMO-0.0.5-SNAPSHOT.pom [INFO] Installing E:\WORK\DEMO\target\DEMO-jar-with-dependencies.jar to C:\Users\Administrator\.m2\repository\com\cmcc\dsp\open\client\DEMO\0.0.5-SNAPSHOT\DEMO-0.0.5-SNAPSHOT-jar-with-dependencies.jar [INFO] [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ DEMO --- [INFO] Downloading: http://XXXX/nexus/content/repositories/cxb/com/cmcc/dsp/open/client/DEMO/0.0.5-SNAPSHOT/maven-metadata.xml [INFO] Uploading: http://XXXX/nexus/content/repositories/cxb/com/cmcc/dsp/open/client/DEMO/0.0.5-SNAPSHOT/DEMO-0.0.5-20160318.111746-1.jar [INFO] Uploading: http://XXXX/nexus/content/repositories/cxb/com/cmcc/dsp/open/client/DEMO/0.0.5-SNAPSHOT/DEMO-0.0.5-20160318.111746-1.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8.572 s [INFO] Finished at: 2016-03-18T19:17:46+08:00 [INFO] Final Memory: 27M/287M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project DEMO: Failed to deploy artifacts: Could not transfer artifact com.cmcc.dsp.open.client:DEMO:jar:0.0.5-20160318.111746-1 from/to local-nexus (http://XXXX/nexus/content/repositories/cxb/): Failed to transfer http://XXXX/nexus/content/repositories/cxb/com/cmcc/dsp/open/client/DEMO/0.0.5-SNAPSHOT/DEMO-0.0.5-20160318.111746-1.jar. Error code 400, Bad Request -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException POM.xml 中配置了: <distributionManagement> <repository> <id>local-nexus</id> <url>http://XXX/nexus/content/repositories/cxb/</url> </repository> </distributionManagement> settings中配置了密码: <servers> <server> <id>public-nexus</id> <username>XXX</username> <password>YYYYY</password> </server> <server> <id>local-nexus</id> <username>XXX</username> <password>YYYYY</password> </server> </servers> 感觉没有什么问题,请大神指导一下
springboot集成apache.cxf实现wsdl webservice接口服务及客户端,使用maven打包是遇到乱码问题
springboot集成apache.cxf实现wsdl webservice接口服务及客户端,使用的工具是idea。在工具内直接启动时没有问题,但使用maven打包时报错 pom文件如下 ``` <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.1.4.RELEASE</version> <relativePath/> <!-- lookup parent from repository --> </parent> <groupId>com.hls</groupId> <artifactId>hisapi</artifactId> <version>0.0.1-SNAPSHOT</version> <name>hisapi</name> <description>Demo project for Spring Boot</description> <properties> <java.version>1.8</java.version> <projcet.build.sourceEncoding>UTF-8</projcet.build.sourceEncoding> </properties> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>2.0.1</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-configuration-processor</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc6</artifactId> <version>11.2.0.1.0</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> </dependency> <!-- http所需包 --> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpcore</artifactId> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpmime</artifactId> </dependency> <!-- /http所需包 --> <!-- 数据解析所需包 --> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.4</version> </dependency> <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> <version>2.6</version> </dependency> <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.4</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-spring-boot-starter-jaxws</artifactId> <version>3.2.6</version> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.16.20</version> <scope>provided</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins> </build> </project> ``` 执行mav install提示错误信息如下 ``` C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AbstractJSON.java:11: 错误: 编码GBK的不可映射字符 * <p>abstractJSON complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AbstractJSON.java:11: 错误: 编码GBK的不可映射字符 * <p>abstractJSON complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AbstractJSON.java:11: 错误: 编码GBK的不可映射字符 * <p>abstractJSON complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AbstractJSON.java:13: 错误: 编码GBK的不可映射字符 * <p>浠ヤ笅妯″紡鐗囨鎸囧畾鍖呭惈鍦ㄦ绫讳腑鐨勯鏈熷唴瀹广?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AbstractJSON.java:13: 错误: 编码GBK的不可映射字符 * <p>浠ヤ笅妯″紡鐗囨鎸囧畾鍖呭惈鍦ㄦ绫讳腑鐨勯鏈熷唴瀹广?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdate.java:10: 错误: 编码GBK的不可映射字符 * <p>addAndUpdate complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdate.java:10: 错误: 编码GBK的不可映射字符 * <p>addAndUpdate complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdate.java:10: 错误: 编码GBK的不可映射字符 * <p>addAndUpdate complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdate.java:12: 错误: 编码GBK的不可映射字符 * <p>浠ヤ笅妯″紡鐗囨鎸囧畾鍖呭惈鍦ㄦ绫讳腑鐨勯鏈熷唴瀹广?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdate.java:12: 错误: 编码GBK的不可映射字符 * <p>浠ヤ笅妯″紡鐗囨鎸囧畾鍖呭惈鍦ㄦ绫讳腑鐨勯鏈熷唴瀹广?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdate.java:37: 错误: 编码GBK的不可映射字符 * 鑾峰彇arg0灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdate.java:37: 错误: 编码GBK的不可映射字符 * 鑾峰彇arg0灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdate.java:37: 错误: 编码GBK的不可映射字符 * 鑾峰彇arg0灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdate.java:49: 错误: 编码GBK的不可映射字符 * 璁剧疆arg0灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdate.java:49: 错误: 编码GBK的不可映射字符 * 璁剧疆arg0灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdate.java:49: 错误: 编码GBK的不可映射字符 * 璁剧疆arg0灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:13: 错误: 编码GBK的不可映射字符 * <p>addAndUpdateResponse complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:13: 错误: 编码GBK的不可映射字符 * <p>addAndUpdateResponse complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:13: 错误: 编码GBK的不可映射字符 * <p>addAndUpdateResponse complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:15: 错误: 编码GBK的不可映射字符 * <p>浠ヤ笅妯″紡鐗囨鎸囧畾鍖呭惈鍦ㄦ绫讳腑鐨勯鏈熷唴瀹广?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:15: 错误: 编码GBK的不可映射字符 * <p>浠ヤ笅妯″紡鐗囨鎸囧畾鍖呭惈鍦ㄦ绫讳腑鐨勯鏈熷唴瀹广?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:62: 错误: 编码GBK的不可映射字符 * 鑾峰彇return灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:62: 错误: 编码GBK的不可映射字符 * 鑾峰彇return灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:62: 错误: 编码GBK的不可映射字符 * 鑾峰彇return灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:74: 错误: 编码GBK的不可映射字符 * 璁剧疆return灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:74: 错误: 编码GBK的不可映射字符 * 璁剧疆return灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:74: 错误: 编码GBK的不可映射字符 * 璁剧疆return灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:87: 错误: 编码GBK的不可映射字符 * <p>anonymous complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:87: 错误: 编码GBK的不可映射字符 * <p>anonymous complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:87: 错误: 编码GBK的不可映射字符 * <p>anonymous complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:89: 错误: 编码GBK的不可映射字符 * <p>浠ヤ笅妯″紡鐗囨鎸囧畾鍖呭惈鍦ㄦ绫讳腑鐨勯鏈熷唴瀹广?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:89: 错误: 编码GBK的不可映射字符 * <p>浠ヤ笅妯″紡鐗囨鎸囧畾鍖呭惈鍦ㄦ绫讳腑鐨勯鏈熷唴瀹广?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:155: 错误: 编码GBK的不可映射字符 * <p>anonymous complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:155: 错误: 编码GBK的不可映射字符 * <p>anonymous complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:155: 错误: 编码GBK的不可映射字符 * <p>anonymous complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:157: 错误: 编码GBK的不可映射字符 * <p>浠ヤ笅妯″紡鐗囨鎸囧畾鍖呭惈鍦ㄦ绫讳腑鐨勯鏈熷唴瀹广?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:157: 错误: 编码GBK的不可映射字符 * <p>浠ヤ笅妯″紡鐗囨鎸囧畾鍖呭惈鍦ㄦ绫讳腑鐨勯鏈熷唴瀹广?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:185: 错误: 编码GBK的不可映射字符 * 鑾峰彇key灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:185: 错误: 编码GBK的不可映射字符 * 鑾峰彇key灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:185: 错误: 编码GBK的不可映射字符 * 鑾峰彇key灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:197: 错误: 编码GBK的不可映射字符 * 璁剧疆key灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:197: 错误: 编码GBK的不可映射字符 * 璁剧疆key灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:197: 错误: 编码GBK的不可映射字符 * 璁剧疆key灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:209: 错误: 编码GBK的不可映射字符 * 鑾峰彇value灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:209: 错误: 编码GBK的不可映射字符 * 鑾峰彇value灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:209: 错误: 编码GBK的不可映射字符 * 鑾峰彇value灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:221: 错误: 编码GBK的不可映射字符 * 璁剧疆value灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:221: 错误: 编码GBK的不可映射字符 * 璁剧疆value灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\AddAndUpdateResponse.java:221: 错误: 编码GBK的不可映射字符 * 璁剧疆value灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\Delete.java:10: 错误: 编码GBK的不可映射字符 * <p>delete complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\Delete.java:10: 错误: 编码GBK的不可映射字符 * <p>delete complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\Delete.java:10: 错误: 编码GBK的不可映射字符 * <p>delete complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\Delete.java:12: 错误: 编码GBK的不可映射字符 * <p>浠ヤ笅妯″紡鐗囨鎸囧畾鍖呭惈鍦ㄦ绫讳腑鐨勯鏈熷唴瀹广?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\Delete.java:12: 错误: 编码GBK的不可映射字符 * <p>浠ヤ笅妯″紡鐗囨鎸囧畾鍖呭惈鍦ㄦ绫讳腑鐨勯鏈熷唴瀹广?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\Delete.java:37: 错误: 编码GBK的不可映射字符 * 鑾峰彇arg0灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\Delete.java:37: 错误: 编码GBK的不可映射字符 * 鑾峰彇arg0灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\Delete.java:37: 错误: 编码GBK的不可映射字符 * 鑾峰彇arg0灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\Delete.java:49: 错误: 编码GBK的不可映射字符 * 璁剧疆arg0灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\Delete.java:49: 错误: 编码GBK的不可映射字符 * 璁剧疆arg0灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\Delete.java:49: 错误: 编码GBK的不可映射字符 * 璁剧疆arg0灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:13: 错误: 编码GBK的不可映射字符 * <p>deleteResponse complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:13: 错误: 编码GBK的不可映射字符 * <p>deleteResponse complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:13: 错误: 编码GBK的不可映射字符 * <p>deleteResponse complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:15: 错误: 编码GBK的不可映射字符 * <p>浠ヤ笅妯″紡鐗囨鎸囧畾鍖呭惈鍦ㄦ绫讳腑鐨勯鏈熷唴瀹广?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:15: 错误: 编码GBK的不可映射字符 * <p>浠ヤ笅妯″紡鐗囨鎸囧畾鍖呭惈鍦ㄦ绫讳腑鐨勯鏈熷唴瀹广?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:62: 错误: 编码GBK的不可映射字符 * 鑾峰彇return灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:62: 错误: 编码GBK的不可映射字符 * 鑾峰彇return灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:62: 错误: 编码GBK的不可映射字符 * 鑾峰彇return灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:74: 错误: 编码GBK的不可映射字符 * 璁剧疆return灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:74: 错误: 编码GBK的不可映射字符 * 璁剧疆return灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:74: 错误: 编码GBK的不可映射字符 * 璁剧疆return灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:87: 错误: 编码GBK的不可映射字符 * <p>anonymous complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:87: 错误: 编码GBK的不可映射字符 * <p>anonymous complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:87: 错误: 编码GBK的不可映射字符 * <p>anonymous complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:89: 错误: 编码GBK的不可映射字符 * <p>浠ヤ笅妯″紡鐗囨鎸囧畾鍖呭惈鍦ㄦ绫讳腑鐨勯鏈熷唴瀹广?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:89: 错误: 编码GBK的不可映射字符 * <p>浠ヤ笅妯″紡鐗囨鎸囧畾鍖呭惈鍦ㄦ绫讳腑鐨勯鏈熷唴瀹广?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:155: 错误: 编码GBK的不可映射字符 * <p>anonymous complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:155: 错误: 编码GBK的不可映射字符 * <p>anonymous complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:155: 错误: 编码GBK的不可映射字符 * <p>anonymous complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:157: 错误: 编码GBK的不可映射字符 * <p>浠ヤ笅妯″紡鐗囨鎸囧畾鍖呭惈鍦ㄦ绫讳腑鐨勯鏈熷唴瀹广?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:157: 错误: 编码GBK的不可映射字符 * <p>浠ヤ笅妯″紡鐗囨鎸囧畾鍖呭惈鍦ㄦ绫讳腑鐨勯鏈熷唴瀹广?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:185: 错误: 编码GBK的不可映射字符 * 鑾峰彇key灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:185: 错误: 编码GBK的不可映射字符 * 鑾峰彇key灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:185: 错误: 编码GBK的不可映射字符 * 鑾峰彇key灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:197: 错误: 编码GBK的不可映射字符 * 璁剧疆key灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:197: 错误: 编码GBK的不可映射字符 * 璁剧疆key灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:197: 错误: 编码GBK的不可映射字符 * 璁剧疆key灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:209: 错误: 编码GBK的不可映射字符 * 鑾峰彇value灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:209: 错误: 编码GBK的不可映射字符 * 鑾峰彇value灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:209: 错误: 编码GBK的不可映射字符 * 鑾峰彇value灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:221: 错误: 编码GBK的不可映射字符 * 璁剧疆value灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:221: 错误: 编码GBK的不可映射字符 * 璁剧疆value灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\DeleteResponse.java:221: 错误: 编码GBK的不可映射字符 * 璁剧疆value灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\GetAppointResult.java:10: 错误: 编码GBK的不可映射字符 * <p>getAppointResult complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\GetAppointResult.java:10: 错误: 编码GBK的不可映射字符 * <p>getAppointResult complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\GetAppointResult.java:10: 错误: 编码GBK的不可映射字符 * <p>getAppointResult complex type鐨? Java 绫汇?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\GetAppointResult.java:12: 错误: 编码GBK的不可映射字符 * <p>浠ヤ笅妯″紡鐗囨鎸囧畾鍖呭惈鍦ㄦ绫讳腑鐨勯鏈熷唴瀹广?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\GetAppointResult.java:12: 错误: 编码GBK的不可映射字符 * <p>浠ヤ笅妯″紡鐗囨鎸囧畾鍖呭惈鍦ㄦ绫讳腑鐨勯鏈熷唴瀹广?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\GetAppointResult.java:37: 错误: 编码GBK的不可映射字符 * 鑾峰彇arg0灞炴?х殑鍊笺?? ^ C:\Users\weigu\AppData\Local\Temp\org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory@ceddaf8-1555314397936-src\com\sd\msun\hospital\service\GetAppointResult.java:37: 错误: 编码GBK的不可映射字符 * 鑾峰彇arg0灞炴?х殑鍊笺?? ^ ```
maven 命令窗口打包有问题
我在eclipse 里构建的maven项目,,环境:maven 3.3.9+jdk1.8 1.用eclipse 导出的war包没有任何问题,, 2如果用 mvn install 打包,输出的是SUCCESS,,然后把包放到tomcat里发布也没有问题 但访问 war里的方法时 会报 **Invalid bound statement <not foun> :..............** 3,我吧源码 从svn里下载出来,然后打来cmd命令窗口, 不管用 mvn package 还是 mvn tomcat:run ,运行项目 都会有 (2) 里面出现的错误 4 ,我怀疑是jdk的问题,因为这是打包的编译问题,然后我吧jdk 换成1.7 ,然后把上面的方法 重新试了一遍 ,然并卵,依旧报错 有没有谁知道这个问题啊?关键是 控制台永远输出 SUCCESS ,没有报错的地方 ----------------------------------------------------- 已解决,
maven release:perform no scm url
今天运行maven打包命令的时候发现打包失败。之前很正常。 异常如下: ![图片说明](https://img-ask.csdn.net/upload/201508/10/1439219367_364633.png) POM配置如下: ![图片说明](https://img-ask.csdn.net/upload/201508/10/1439219384_943972.png) ![图片说明](https://img-ask.csdn.net/upload/201508/10/1439219393_325616.png) 环境描述 JDK + maven + ​git 无法从NO SCM URL 错误信息中分析出问题出在那。。。。 请大神们指点一下
maven插件打包jar,在myeclipse运行没有错误,运行jar时报错
Excepion in thread "main" org.springframework.beans.factory. parsing.BeanDefinitionPersingException: Configuration problem:Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/context] Offending resource: class path resource [applicationContext.xml] applicationContext.xml配置如下: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:task="http://www.springframework.org/schema/task" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:p="http://www.springframework.org/schema/p" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-4.1.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.1.xsd"> <context:component-scan base-package="com.jytime"></context:component-scan> <!-- 数据库连接池 非单例属性 scope="prototype" --> <bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close"> <property name="driverClass" value="com.microsoft.sqlserver.jdbc.SQLServerDriver" /> <property name="jdbcUrl" value="jdbc:sqlserver://192.168.2.101;DatabaseName=pm" /> <property name="user" value="sa" /> <property name="password" value="123" /> </bean> <bean id="jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate"> <property name="dataSource" ref="dataSource"></property> </bean> <task:scheduler id="taskScheduler" pool-size="100"></task:scheduler> <task:scheduled-tasks scheduler="taskScheduler"> <task:scheduled ref="taskRemind" method="execute1" cron="0 0 10 * * ?" /> </task:scheduled-tasks> </beans> pom.xml配置如下: 复制代码 <dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>4.1.7.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-beans</artifactId> <version>4.1.7.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>4.1.7.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>4.1.7.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-jdbc</artifactId> <version>4.1.7.RELEASE</version> </dependency> <dependency> <groupId>org.springframework.ws</groupId> <artifactId>spring-ws-core</artifactId> <version>2.4.0.RELEASE</version> </dependency> <dependency> <groupId>com.microsoft.sqlserver</groupId> <artifactId>sqljdbc4</artifactId> <version>4.0</version> <type>jar</type> <scope>compile</scope> </dependency> <dependency> <groupId>c3p0</groupId> <artifactId>c3p0</artifactId> <version>0.9.1.2</version> <type>jar</type> <scope>compile</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.6.1</version> <type>jar</type> <scope>compile</scope> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.16</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.6.1</version> <type>jar</type> <scope>compile</scope> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <archive> <manifest> <mainClass>com.jytime.remind.App</mainClass> </manifest> </archive> <descriptorRefs> <descriptorRef> jar-with-dependencies </descriptorRef> </descriptorRefs> </configuration> <executions> <execution> <phase>package</phase> <goals> <goal>single</goal> </goals> <configuration> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> <resource>META-INF/spring.handlers</resource> </transformer> <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> <resource>META-INF/spring.schemas</resource> </transformer> </transformers> </configuration> </execution> </executions> </plugin> </plugins> </build> 复制代码 请高人帮忙解答一下,实在不知道怎么回事
爬虫福利二 之 妹子图网MM批量下载
爬虫福利一:27报网MM批量下载    点击 看了本文,相信大家对爬虫一定会产生强烈的兴趣,激励自己去学习爬虫,在这里提前祝:大家学有所成! 目标网站:妹子图网 环境:Python3.x 相关第三方模块:requests、beautifulsoup4 Re:各位在测试时只需要将代码里的变量 path 指定为你当前系统要保存的路径,使用 python xxx.py 或IDE运行即可。
Java学习的正确打开方式
在博主认为,对于入门级学习java的最佳学习方法莫过于视频+博客+书籍+总结,前三者博主将淋漓尽致地挥毫于这篇博客文章中,至于总结在于个人,实际上越到后面你会发现学习的最好方式就是阅读参考官方文档其次就是国内的书籍,博客次之,这又是一个层次了,这里暂时不提后面再谈。博主将为各位入门java保驾护航,各位只管冲鸭!!!上天是公平的,只要不辜负时间,时间自然不会辜负你。 何谓学习?博主所理解的学习,它
大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了
大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...
linux系列之常用运维命令整理笔录
本博客记录工作中需要的linux运维命令,大学时候开始接触linux,会一些基本操作,可是都没有整理起来,加上是做开发,不做运维,有些命令忘记了,所以现在整理成博客,当然vi,文件操作等就不介绍了,慢慢积累一些其它拓展的命令,博客不定时更新 顺便拉下票,我在参加csdn博客之星竞选,欢迎投票支持,每个QQ或者微信每天都可以投5票,扫二维码即可,http://m234140.nofollow.ax.
比特币原理详解
一、什么是比特币 比特币是一种电子货币,是一种基于密码学的货币,在2008年11月1日由中本聪发表比特币白皮书,文中提出了一种去中心化的电子记账系统,我们平时的电子现金是银行来记账,因为银行的背后是国家信用。去中心化电子记账系统是参与者共同记账。比特币可以防止主权危机、信用风险。其好处不多做赘述,这一层面介绍的文章很多,本文主要从更深层的技术原理角度进行介绍。 二、问题引入 假设现有4个人...
程序员接私活怎样防止做完了不给钱?
首先跟大家说明一点,我们做 IT 类的外包开发,是非标品开发,所以很有可能在开发过程中会有这样那样的需求修改,而这种需求修改很容易造成扯皮,进而影响到费用支付,甚至出现做完了项目收不到钱的情况。 那么,怎么保证自己的薪酬安全呢? 我们在开工前,一定要做好一些证据方面的准备(也就是“讨薪”的理论依据),这其中最重要的就是需求文档和验收标准。一定要让需求方提供这两个文档资料作为开发的基础。之后开发
网页实现一个简单的音乐播放器(大佬别看。(⊙﹏⊙))
今天闲着无事,就想写点东西。然后听了下歌,就打算写个播放器。 于是乎用h5 audio的加上js简单的播放器完工了。 欢迎 改进 留言。 演示地点跳到演示地点 html代码如下`&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;music&lt;/title&gt; &lt;meta charset="utf-8"&gt
Python十大装B语法
Python 是一种代表简单思想的语言,其语法相对简单,很容易上手。不过,如果就此小视 Python 语法的精妙和深邃,那就大错特错了。本文精心筛选了最能展现 Python 语法之精妙的十个知识点,并附上详细的实例代码。如能在实战中融会贯通、灵活使用,必将使代码更为精炼、高效,同时也会极大提升代码B格,使之看上去更老练,读起来更优雅。 1. for - else 什么?不是 if 和 else 才
数据库优化 - SQL优化
前面一篇文章从实例的角度进行数据库优化,通过配置一些参数让数据库性能达到最优。但是一些“不好”的SQL也会导致数据库查询变慢,影响业务流程。本文从SQL角度进行数据库优化,提升SQL运行效率。 判断问题SQL 判断SQL是否有问题时可以通过两个表象进行判断: 系统级别表象 CPU消耗严重 IO等待严重 页面响应时间过长
2019年11月中国大陆编程语言排行榜
2019年11月2日,我统计了某招聘网站,获得有效程序员招聘数据9万条。针对招聘信息,提取编程语言关键字,并统计如下: 编程语言比例 rank pl_ percentage 1 java 33.62% 2 c/c++ 16.42% 3 c_sharp 12.82% 4 javascript 12.31% 5 python 7.93% 6 go 7.25% 7
通俗易懂地给女朋友讲:线程池的内部原理
餐厅的约会 餐盘在灯光的照耀下格外晶莹洁白,女朋友拿起红酒杯轻轻地抿了一小口,对我说:“经常听你说线程池,到底线程池到底是个什么原理?”我楞了一下,心里想女朋友今天是怎么了,怎么突然问出这么专业的问题,但做为一个专业人士在女朋友面前也不能露怯啊,想了一下便说:“我先给你讲讲我前同事老王的故事吧!” 大龄程序员老王 老王是一个已经北漂十多年的程序员,岁数大了,加班加不动了,升迁也无望,于是拿着手里
经典算法(5)杨辉三角
杨辉三角 是经典算法,这篇博客对它的算法思想进行了讲解,并有完整的代码实现。
腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹?
昨天,有网友私信我,说去阿里面试,彻底的被打击到了。问了为什么网上大量使用ThreadLocal的源码都会加上private static?他被难住了,因为他从来都没有考虑过这个问题。无独有偶,今天笔者又发现有网友吐槽了一道腾讯的面试题,我们一起来看看。 腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹? 在互联网职场论坛,一名程序员发帖求助到。二面腾讯,其中一个算法题:64匹
面试官:你连RESTful都不知道我怎么敢要你?
面试官:了解RESTful吗? 我:听说过。 面试官:那什么是RESTful? 我:就是用起来很规范,挺好的 面试官:是RESTful挺好的,还是自我感觉挺好的 我:都挺好的。 面试官:… 把门关上。 我:… 要干嘛?先关上再说。 面试官:我说出去把门关上。 我:what ?,夺门而去 文章目录01 前言02 RESTful的来源03 RESTful6大原则1. C-S架构2. 无状态3.统一的接
JDK12 Collectors.teeing 你真的需要了解一下
前言 在 Java 12 里面有个非常好用但在官方 JEP 没有公布的功能,因为它只是 Collector 中的一个小改动,它的作用是 merge 两个 collector 的结果,这句话显得很抽象,老规矩,我们先来看个图(这真是一个不和谐的图????): 管道改造经常会用这个小东西,通常我们叫它「三通」,它的主要作用就是将 downstream1 和 downstre...
为啥国人偏爱Mybatis,而老外喜欢Hibernate/JPA呢?
关于SQL和ORM的争论,永远都不会终止,我也一直在思考这个问题。昨天又跟群里的小伙伴进行了一番讨论,感触还是有一些,于是就有了今天这篇文。 声明:本文不会下关于Mybatis和JPA两个持久层框架哪个更好这样的结论。只是摆事实,讲道理,所以,请各位看官勿喷。 一、事件起因 关于Mybatis和JPA孰优孰劣的问题,争论已经很多年了。一直也没有结论,毕竟每个人的喜好和习惯是大不相同的。我也看
SQL-小白最佳入门sql查询一
不要偷偷的查询我的个人资料,即使你再喜欢我,也不要这样,真的不好;
项目中的if else太多了,该怎么重构?
介绍 最近跟着公司的大佬开发了一款IM系统,类似QQ和微信哈,就是聊天软件。我们有一部分业务逻辑是这样的 if (msgType = "文本") { // dosomething } else if(msgType = "图片") { // doshomething } else if(msgType = "视频") { // doshomething } else { // doshom...
【图解经典算法题】如何用一行代码解决约瑟夫环问题
约瑟夫环问题算是很经典的题了,估计大家都听说过,然后我就在一次笔试中遇到了,下面我就用 3 种方法来详细讲解一下这道题,最后一种方法学了之后保证让你可以让你装逼。 问题描述:编号为 1-N 的 N 个士兵围坐在一起形成一个圆圈,从编号为 1 的士兵开始依次报数(1,2,3…这样依次报),数到 m 的 士兵会被杀死出列,之后的士兵再从 1 开始报数。直到最后剩下一士兵,求这个士兵的编号。 1、方...
致 Python 初学者
欢迎来到“Python进阶”专栏!来到这里的每一位同学,应该大致上学习了很多 Python 的基础知识,正在努力成长的过程中。在此期间,一定遇到了很多的困惑,对未来的学习方向感到迷茫。我非常理解你们所面临的处境。我从2007年开始接触 python 这门编程语言,从2009年开始单一使用 python 应对所有的开发工作,直至今天。回顾自己的学习过程,也曾经遇到过无数的困难,也曾经迷茫过、困惑过。开办这个专栏,正是为了帮助像我当年一样困惑的 Python 初学者走出困境、快速成长。希望我的经验能真正帮到你
“狗屁不通文章生成器”登顶GitHub热榜,分分钟写出万字形式主义大作
一、垃圾文字生成器介绍 最近在浏览GitHub的时候,发现了这样一个骨骼清奇的雷人项目,而且热度还特别高。 项目中文名:狗屁不通文章生成器 项目英文名:BullshitGenerator 根据作者的介绍,他是偶尔需要一些中文文字用于GUI开发时测试文本渲染,因此开发了这个废话生成器。但由于生成的废话实在是太过富于哲理,所以最近已经被小伙伴们给玩坏了。 他的文风可能是这样的: 你发现,...
程序员:我终于知道post和get的区别
是一个老生常谈的话题,然而随着不断的学习,对于以前的认识有很多误区,所以还是需要不断地总结的,学而时习之,不亦说乎
GitHub标星近1万:只需5秒音源,这个网络就能实时“克隆”你的声音
作者 | Google团队 译者 | 凯隐 编辑 | Jane 出品 | AI科技大本营(ID:rgznai100) 本文中,Google 团队提出了一种文本语音合成(text to speech)神经系统,能通过少量样本学习到多个不同说话者(speaker)的语音特征,并合成他们的讲话音频。此外,对于训练时网络没有接触过的说话者,也能在不重新训练的情况下,仅通过未知...
《程序人生》系列-这个程序员只用了20行代码就拿了冠军
你知道的越多,你不知道的越多 点赞再看,养成习惯GitHub上已经开源https://github.com/JavaFamily,有一线大厂面试点脑图,欢迎Star和完善 前言 这一期不算《吊打面试官》系列的,所有没前言我直接开始。 絮叨 本来应该是没有这期的,看过我上期的小伙伴应该是知道的嘛,双十一比较忙嘛,要值班又要去帮忙拍摄年会的视频素材,还得搞个程序员一天的Vlog,还要写BU...
加快推动区块链技术和产业创新发展,2019可信区块链峰会在京召开
11月8日,由中国信息通信研究院、中国通信标准化协会、中国互联网协会、可信区块链推进计划联合主办,科技行者协办的2019可信区块链峰会将在北京悠唐皇冠假日酒店开幕。   区块链技术被认为是继蒸汽机、电力、互联网之后,下一代颠覆性的核心技术。如果说蒸汽机释放了人类的生产力,电力解决了人类基本的生活需求,互联网彻底改变了信息传递的方式,区块链作为构造信任的技术有重要的价值。   1...
程序员把地府后台管理系统做出来了,还有3.0版本!12月7号最新消息:已在开发中有github地址
第一幕:缘起 听说阎王爷要做个生死簿后台管理系统,我们派去了一个程序员…… 996程序员做的梦: 第一场:团队招募 为了应对地府管理危机,阎王打算找“人”开发一套地府后台管理系统,于是就在地府总经办群中发了项目需求。 话说还是中国电信的信号好,地府都是满格,哈哈!!! 经常会有外行朋友问:看某网站做的不错,功能也简单,你帮忙做一下? 而这次,面对这样的需求,这个程序员...
网易云6亿用户音乐推荐算法
网易云音乐是音乐爱好者的集聚地,云音乐推荐系统致力于通过 AI 算法的落地,实现用户千人千面的个性化推荐,为用户带来不一样的听歌体验。 本次分享重点介绍 AI 算法在音乐推荐中的应用实践,以及在算法落地过程中遇到的挑战和解决方案。 将从如下两个部分展开: AI算法在音乐推荐中的应用 音乐场景下的 AI 思考 从 2013 年 4 月正式上线至今,网易云音乐平台持续提供着:乐屏社区、UGC...
【技巧总结】位运算装逼指南
位算法的效率有多快我就不说,不信你可以去用 10 亿个数据模拟一下,今天给大家讲一讲位运算的一些经典例子。不过,最重要的不是看懂了这些例子就好,而是要在以后多去运用位运算这些技巧,当然,采用位运算,也是可以装逼的,不信,你往下看。我会从最简单的讲起,一道比一道难度递增,不过居然是讲技巧,那么也不会太难,相信你分分钟看懂。 判断奇偶数 判断一个数是基于还是偶数,相信很多人都做过,一般的做法的代码如下...
【管理系统课程设计】美少女手把手教你后台管理
【文章后台管理系统】URL设计与建模分析+项目源码+运行界面 栏目管理、文章列表、用户管理、角色管理、权限管理模块(文章最后附有源码) 1. 这是一个什么系统? 1.1 学习后台管理系统的原因 随着时代的变迁,现如今各大云服务平台横空出世,市面上有许多如学生信息系统、图书阅读系统、停车场管理系统等的管理系统,而本人家里就有人在用烟草销售系统,直接在网上完成挑选、购买与提交收货点,方便又快捷。 试想,若没有烟草销售系统,本人家人想要购买烟草,还要独自前往药...
4G EPS 第四代移动通信系统
目录 文章目录目录4G 与 LTE/EPCLTE/EPC 的架构E-UTRANE-UTRAN 协议栈eNodeBEPCMMES-GWP-GWHSSLTE/EPC 协议栈概览 4G 与 LTE/EPC 4G,即第四代移动通信系统,提供了 3G 不能满足的无线网络宽带化,主要提供数据(上网)业务。而 LTE(Long Term Evolution,长期演进技术)是电信领域用于手机及数据终端的高速无线通...
相关热词 c# 二进制截断字符串 c#实现窗体设计器 c#检测是否为微信 c# plc s1200 c#里氏转换原则 c# 主界面 c# do loop c#存为组套 模板 c# 停掉协程 c# rgb 读取图片
立即提问