找不到 包:java.lang.ClassNotFoundException: org.apache.commons.lang.StringUtils

如题找不到commons.lang这个包,我已经导入了还是不能用,不管是用哪个版本包都找不到,但是我能从代码里面找到StringUtils这个方法源代码;
图片说明

l1445453337
l1445453337 回复l1445453337: eclispe再运行的时候不会把其它文件夹的包打包进来,网上找了一推答案,没有一个说到问题关键所在。
12 个月之前 回复
l1445453337
l1445453337 找到了问题关键了,不能直接从eclipse的build path里面添加包,要先文件放在webContent/lib里面再来添加包就行了,
12 个月之前 回复

1个回答

找到了问题关键了,不能直接从eclipse的build path里面添加包,要先文件放在webContent/lib里面再来添加包就行了,eclispe在运行的时候不会把其它文件夹的包打包进来,网上找了一推答案,没有一个说到问题关键所在。

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
weblogic部署war项目报错java.lang.ClassNotFoundException
<Jan 17, 2018 3:44:42,621 PM CST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "621173883586108" for task "12" on [partition-name: DOMAIN]. Error is: "weblogic.management.DeploymentException: java.lang.ClassNotFoundException: org.springframework.beans.factory.config.BeanPostProcessor" weblogic.management.DeploymentException: java.lang.ClassNotFoundException: org.springframework.beans.factory.config.BeanPostProcessor at weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:132) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:244) at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:52) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:65) Truncated. see log file for complete stacktrace Caused By: java.lang.ClassNotFoundException: org.springframework.beans.factory.config.BeanPostProcessor at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029) at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:990) at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:611) at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:543) at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:496) Truncated. see log file for complete stacktrace > <Jan 17, 2018 3:44:42,633 PM CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application "cppims2".> <Jan 17, 2018 3:44:42,633 PM CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004 weblogic.management.DeploymentException: java.lang.ClassNotFoundException: org.springframework.beans.factory.config.BeanPostProcessor at weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:132) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:244) at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:52) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:65) Truncated. see log file for complete stacktrace Caused By: java.lang.ClassNotFoundException: org.springframework.beans.factory.config.BeanPostProcessor at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029) at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:990) at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:611) at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:543) at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:496) Truncated. see log file for complete stacktrace > =========================================== java.lang.ClassNotFoundException: org.springframework.beans.factory.config.BeanPostProcessor找不到这个类,但是war包里面jar中有 ![图片说明](https://img-ask.csdn.net/upload/201801/17/1516175198_716249.png) 应用使用ext+spring+servlet,之前在tomcat里一直都是正常的,现在领导要求使用weblogic,安装了weblogic12c,但是部署项目时失败,麻烦哪位大神帮忙解决一下,不胜感激
java.lang.ClassNotFoundException: org.apache.commons.lang.StringUtils找不到包
我已经把commons.lang包添加进来了,但是一运行eclipse就会包上面的错误,不管我把commons.lang这个包换成哪个版本都会出现这个错误 我没有使用任何框架![图片说明](https://img-ask.csdn.net/upload/201904/14/1555240625_987050.png)
java.lang.ClassNotFoundException如何解决
java.lang.ClassNotFoundException: io.dcloud.appstream.StreamAppMainActivity Android studio整合5+SDK,然后导入别人的依赖包进行开发,每次到一定的步骤后就会报这个错误,不知道如何错在什么地方,jar包什么的好像也不会少。
maven整合struts2,出现错误java.lang.ClassNotFoundException。
在新建maven项目成功后,试验了helloworld简单web程序,成功。 但是在利用maven整合struts2时出现错误。异常提示找不到filter。 不知道为什么,错误提示如下: 严重: Exception starting filter struts2 java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:269) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4001) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4651) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445) at org.apache.catalina.startup.Embedded.start(Embedded.java:825) at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMojo.java:558) at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java:255) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:290) at org.apache.maven.cli.MavenCli.main(MavenCli.java:194) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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)
java.lang.ClassNotFoundException异常,哪位大神来帮我看看
严重: Error configuring application listener of class com.huaxu.readmeter.modules.sys.listener.WebContextListener java.lang.ClassNotFoundException: com.huaxu.readmeter.modules.sys.listener.WebContextListener at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:506) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:488) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:115) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4932) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:677) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1912) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 六月 09, 2017 8:04:46 上午 org.apache.catalina.core.StandardContext listenerStart 严重: Skipped installing application listeners due to previous error(s) 六月 09, 2017 8:04:46 上午 org.apache.catalina.core.StandardContext startInternal 严重: One or more listeners failed to start. Full details will be found in the appropriate container log file 六月 09, 2017 8:04:46 上午 org.apache.catalina.core.StandardContext startInternal 严重: Context [/jeesite] startup failed due to previous errors 六月 09, 2017 8:04:46 上午 org.apache.catalina.startup.HostConfig deployDescriptor 信息: Deployment of configuration descriptor D:\HLHTCB\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\conf\Catalina\localhost\jeesite.xml has finished in 3,648 ms 六月 09, 2017 8:04:46 上午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-bio-8080"] 六月 09, 2017 8:04:46 上午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["ajp-bio-8009"] 六月 09, 2017 8:04:46 上午 org.apache.catalina.startup.Catalina start 信息: Server startup in 4076 ms 我有这个类为什么编译不到呢?我重新clean项目了,也重新加载了maven了
AnnotationTransactionAspect找不到的问题
Caused by: java.lang.ClassNotFoundException: org.springframework.transaction.aspectj.AnnotationTransactionAspect
java.lang.NoClassDefFoundError
![图片说明](https://img-ask.csdn.net/upload/201705/03/1493780867_650176.png) linux下使用jedis,运行目录如上图,Main.java内容: ``` import redis.clients.jedis.exceptions.*; import redis.clients.jedis.*; import redis.clients.util.*; import org.apache.commons.pool2.*; import org.apache.commons.pool2.proxy.*; import org.apache.commons.pool2.impl.*; public class Main{ public static void main(String[] args){ Jedis jedis = new Jedis("127.0.0.1",6379); jedis.set("s2","123"); String result = jedis.get("s2"); System.out.println(result); jedis.close(); } } ``` 进入该目录下执行 javac -cp jedis-2.7.0.jar:commons-pool2-2.3.jar: Main.java 编译成功,然后运行 java Main报错: Exception in thread "main" java.lang.NoClassDefFoundError: redis/clients/jedis/Jedis at Main.main(Main.java:20) Caused by: java.lang.ClassNotFoundException: redis.clients.jedis.Jedis at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 1 more 编译成功了,但是运行时却找不到类?还是说编译其实也有问题,在Main.java中已经把两个外部jar包的所有类都import了。查了网上不少资料了但是还是没解决,平常都用IDE的,这次试试用javac然后就这样了。求解答,谢谢。
logger报错找不到slf4j.logger
Caused by: java.lang.NoClassDefFoundError: Lorg/slf4j/Logger; at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2317) at java.lang.Class.getDeclaredFields(Class.java:1762) at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:106) at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:270) at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:89) at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:63) at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:417) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:891) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:388) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5519) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) ... 40 more Caused by: java.lang.ClassNotFoundException: org.slf4j.Logger at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735) ... 54 more
阿里云的姿态检测运行时抛出java.lang.NoClassDefFoundError错误,跪求解决方法?
在这里我使用了阿里云的姿态检测库,但从开始运行时抛出java.lang.NoClassDefFoundError错误导致无法运行: ``` Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/http/conn/HttpClientConnectionManager at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.aliyuncs.http.HttpClientFactory.buildClient(HttpClientFactory.java:35) at com.aliyuncs.DefaultAcsClient.<init>(DefaultAcsClient.java:77) at com.aliyuncs.DefaultAcsClient.<init>(DefaultAcsClient.java:66) at com.HUST_fighting.start.Main.main(Main.java:22) Caused by: java.lang.ClassNotFoundException: org.apache.http.conn.HttpClientConnectionManager at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 6 more ``` 这个错误在网上找了半天没有解决方法。据说是编译时找不到指定类 求大佬找出问题并提供解决建议,以下是源码: ``` import com.aliyuncs.profile.DefaultProfile; import com.aliyuncs.facebody.model.v20191230.BodyPostureRequest; import com.aliyuncs.facebody.model.v20191230.BodyPostureResponse; import javax.swing.JButton; import javax.swing.JOptionPane; import com.aliyuncs.DefaultAcsClient; import com.aliyuncs.IAcsClient; import com.aliyuncs.exceptions.ClientException; import com.aliyuncs.exceptions.ServerException; public class Main { static IAcsClient client = null; public static void main(String[] args) throws ServerException, ClientException { DefaultProfile profile = DefaultProfile.getProfile( "cn-shanghai", //默认 "xxxxx", //Access Key 已隐藏 "xxxxx"); client = new DefaultAcsClient(profile); bodyTest(); } public static void bodyTest() throws ServerException, ClientException { BodyPostureRequest body = new BodyPostureRequest(); body.setImageURL("https://viapi-test.oss-cn-shanghai.aliyuncs.com/test-team/bodyp.jpg"); BodyPostureResponse bodyp = client.getAcsResponse(body); System.out.println(bodyp); } } ``` ![图片说明](https://img-ask.csdn.net/upload/202003/28/1585402838_175180.png) 以下是引用的库: ![图片说明](https://img-ask.csdn.net/upload/202003/28/1585403018_383821.png) 望有大佬提出解决建议!
ClassNotFoundException
这个项目是用MAVEN建立的 这个是全部的异常: java.io.IOException: java.lang.ClassNotFoundException: org.springframework.web.SpringServletContainerInitializer at org.apache.catalina.startup.WebappServiceLoader.loadServices(WebappServiceLoader.java:200) at org.apache.catalina.startup.WebappServiceLoader.load(WebappServiceLoader.java:158) at org.apache.catalina.startup.ContextConfig.processServletContainerInitializers(ContextConfig.java:1573) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1279) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:887) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:387) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5472) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1572) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1562) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.springframework.web.SpringServletContainerInitializer at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1858) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1701) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.apache.catalina.startup.WebappServiceLoader.loadServices(WebappServiceLoader.java:197) ... 16 more 我在项目里边看了,spring-web这个jar包是在Maven Dependencies中的,但是不为什么就是提示找不到这个类。 求问各位大神这个问题要怎么解决?
[jacoco] 找不到类 "org.jacoco.agent.rt.RT",求解答
使用android stuido进行功能测试代码覆盖率统计。 jacoco应该是gradle自带的一个插件。但是运行的时候提示找不到对应的类。自己创建一个hello world项目进行测试又很正常。 build.gradle中配置如下: apply plugin: 'jacoco' buildTypes { debug { testCoverageEnabled = true ... } } 报错如下: D/JacocoInstrumentation:(22005): java.lang.ClassNotFoundException: org.jacoco.agent.rt.RT D/JacocoInstrumentation:(22005): at java.lang.Class.classForName(Native Method) D/JacocoInstrumentation:(22005): at java.lang.Class.forName(Class.java:309) D/JacocoInstrumentation:(22005): at java.lang.Class.forName(Class.java:273) D/JacocoInstrumentation:(22005): at com.inveno.xiaozhi.test.JacocoInstrumentation.generateCoverageReport(JacocoInstrumentation.java:88) D/JacocoInstrumentation:(22005): at com.inveno.xiaozhi.test.JacocoInstrumentation.onActivityFinished(JacocoInstrumentation.java:139) D/JacocoInstrumentation:(22005): at com.inveno.xiaozhi.test.InstrumentedActivity.onDestroy(InstrumentedActivity.java:24) D/JacocoInstrumentation:(22005): at android.app.Activity.performDestroy(Activity.java:6271) D/JacocoInstrumentation:(22005): at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1148) D/JacocoInstrumentation:(22005): at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3962) D/JacocoInstrumentation:(22005): at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3993) D/JacocoInstrumentation:(22005): at android.app.ActivityThread.access$1400(ActivityThread.java:178) D/JacocoInstrumentation:(22005): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1524) D/JacocoInstrumentation:(22005): at android.os.Handler.dispatchMessage(Handler.java:111) D/JacocoInstrumentation:(22005): at android.os.Looper.loop(Looper.java:194) D/JacocoInstrumentation:(22005): at android.app.ActivityThread.main(ActivityThread.java:5637) D/JacocoInstrumentation:(22005): at java.lang.reflect.Method.invoke(Native Method) D/JacocoInstrumentation:(22005): at java.lang.reflect.Method.invoke(Method.java:372) D/JacocoInstrumentation:(22005): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959) D/JacocoInstrumentation:(22005): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754) D/JacocoInstrumentation:(22005): Caused by: java.lang.ClassNotFoundException: Didn't find class "org.jacoco.agent.rt.RT" on path: DexPathList[[zip file "/data/app/coms file "/data/app/com.hotoday.news-1/b", zip file "/data/app/com.hotoday.news-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.hotoday.news-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.hotoday.news-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.hotoday.news-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.hotoday.news-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.hotoday.news-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.hotoday.news-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.hotoday.news-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.hotoday.news-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.hotoday.news-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.hotoday.news-1/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]] D/JacocoInstrumentation:(22005): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) D/JacocoInstrumentation:(22005): at java.lang.ClassLoader.loadClass(ClassLoader.java:511) D/JacocoInstrumentation:(22005): at java.lang.ClassLoader.loadClass(ClassLoader.java:469) D/JacocoInstrumentation:(22005): ... 19 more D/JacocoInstrumentation:(22005): Suppressed: java.lang.ClassNotFoundException: org.jacoco.agent.rt.RT D/JacocoInstrumentation:(22005): at java.lang.Class.classForName(Native Method) D/JacocoInstrumentation:(22005): at java.lang.BootClassLoader.findClass(ClassLoader.java:781) D/JacocoInstrumentation:(22005): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) D/JacocoInstrumentation:(22005): at java.lang.ClassLoader.loadClass(ClassLoader.java:504) D/JacocoInstrumentation:(22005): ... 20 more D/JacocoInstrumentation:(22005): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
用wsdl文件生成java代码时报错,找不到。
java.lang.NoClassDefFoundError: org/apache/axis/wsdl/WSDL2Java Caused by: java.lang.ClassNotFoundException: org.apache.axis.wsdl.WSDL2Java at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) Exception in thread "main" 包都有的,在这个项目里就不行。我新建一个项目,在新项目里就可以,一到原来的项目有有问题。求大神带飞。
android的LocationBroadcastManager的包资源配置问题,求指教!
一开始,我创建一个LocationBroadcastManager的变量,结果系统库里识别不了这个类 ![图片说明](https://img-ask.csdn.net/upload/201610/17/1476681057_620065.png) 然后我就上网,看到别人说的解决方法说是:因为没有导入android.support.v4.conten这个包;然后我就按提示导入了support-v4-19.1.0.jar![图片说明](https://img-ask.csdn.net/upload/201610/17/1476681645_561409.png) 之后就没有报错了,但是在运行的时候,又报错,下面是Log: 10-17 01:35:26.788: E/AndroidRuntime(5555): FATAL EXCEPTION: main 10-17 01:35:26.788: E/AndroidRuntime(5555): Process: com.example.broadcastreceive, PID: 5555 10-17 01:35:26.788: E/AndroidRuntime(5555): java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/content/LocalBroadcastManager; 10-17 01:35:26.788: E/AndroidRuntime(5555): at com.example.broadcastreceive.MainActivity.onCreate(MainActivity.java:34) 10-17 01:35:26.788: E/AndroidRuntime(5555): at android.app.Activity.performCreate(Activity.java:5990) 10-17 01:35:26.788: E/AndroidRuntime(5555): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106) 10-17 01:35:26.788: E/AndroidRuntime(5555): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278) 10-17 01:35:26.788: E/AndroidRuntime(5555): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387) 10-17 01:35:26.788: E/AndroidRuntime(5555): at android.app.ActivityThread.access$800(ActivityThread.java:151) 10-17 01:35:26.788: E/AndroidRuntime(5555): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303) 10-17 01:35:26.788: E/AndroidRuntime(5555): at android.os.Handler.dispatchMessage(Handler.java:102) 10-17 01:35:26.788: E/AndroidRuntime(5555): at android.os.Looper.loop(Looper.java:135) 10-17 01:35:26.788: E/AndroidRuntime(5555): at android.app.ActivityThread.main(ActivityThread.java:5254) 10-17 01:35:26.788: E/AndroidRuntime(5555): at java.lang.reflect.Method.invoke(Native Method) 10-17 01:35:26.788: E/AndroidRuntime(5555): at java.lang.reflect.Method.invoke(Method.java:372) 10-17 01:35:26.788: E/AndroidRuntime(5555): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) 10-17 01:35:26.788: E/AndroidRuntime(5555): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) 10-17 01:35:26.788: E/AndroidRuntime(5555): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v4.content.LocalBroadcastManager" on path: DexPathList[[zip file "/data/app/com.example.broadcastreceive-2/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]] 10-17 01:35:26.788: E/AndroidRuntime(5555): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) 10-17 01:35:26.788: E/AndroidRuntime(5555): at java.lang.ClassLoader.loadClass(ClassLoader.java:511) 10-17 01:35:26.788: E/AndroidRuntime(5555): at java.lang.ClassLoader.loadClass(ClassLoader.java:469) 10-17 01:35:26.788: E/AndroidRuntime(5555): ... 14 more 10-17 01:35:26.788: E/AndroidRuntime(5555): Suppressed: java.lang.ClassNotFoundException: android.support.v4.content.LocalBroadcastManager 10-17 01:35:26.788: E/AndroidRuntime(5555): at java.lang.Class.classForName(Native Method) 10-17 01:35:26.788: E/AndroidRuntime(5555): at java.lang.BootClassLoader.findClass(ClassLoader.java:781) 10-17 01:35:26.788: E/AndroidRuntime(5555): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) 10-17 01:35:26.788: E/AndroidRuntime(5555): at java.lang.ClassLoader.loadClass(ClassLoader.java:504) 10-17 01:35:26.788: E/AndroidRuntime(5555): ... 15 more 10-17 01:35:26.788: E/AndroidRuntime(5555): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available 10-17 01:37:34.075: E/AndroidRuntime(5631): FATAL EXCEPTION: main 10-17 01:37:34.075: E/AndroidRuntime(5631): Process: com.example.broadcastreceive, PID: 5631 10-17 01:37:34.075: E/AndroidRuntime(5631): java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/content/LocalBroadcastManager; 10-17 01:37:34.075: E/AndroidRuntime(5631): at com.example.broadcastreceive.MainActivity.onCreate(MainActivity.java:34) 10-17 01:37:34.075: E/AndroidRuntime(5631): at android.app.Activity.performCreate(Activity.java:5990) 10-17 01:37:34.075: E/AndroidRuntime(5631): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106) 10-17 01:37:34.075: E/AndroidRuntime(5631): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278) 10-17 01:37:34.075: E/AndroidRuntime(5631): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387) 10-17 01:37:34.075: E/AndroidRuntime(5631): at android.app.ActivityThread.access$800(ActivityThread.java:151) 10-17 01:37:34.075: E/AndroidRuntime(5631): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303) 10-17 01:37:34.075: E/AndroidRuntime(5631): at android.os.Handler.dispatchMessage(Handler.java:102) 10-17 01:37:34.075: E/AndroidRuntime(5631): at android.os.Looper.loop(Looper.java:135) 10-17 01:37:34.075: E/AndroidRuntime(5631): at android.app.ActivityThread.main(ActivityThread.java:5254) 10-17 01:37:34.075: E/AndroidRuntime(5631): at java.lang.reflect.Method.invoke(Native Method) 10-17 01:37:34.075: E/AndroidRuntime(5631): at java.lang.reflect.Method.invoke(Method.java:372) 10-17 01:37:34.075: E/AndroidRuntime(5631): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) 10-17 01:37:34.075: E/AndroidRuntime(5631): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) 10-17 01:37:34.075: E/AndroidRuntime(5631): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v4.content.LocalBroadcastManager" on path: DexPathList[[zip file "/data/app/com.example.broadcastreceive-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]] 10-17 01:37:34.075: E/AndroidRuntime(5631): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) 10-17 01:37:34.075: E/AndroidRuntime(5631): at java.lang.ClassLoader.loadClass(ClassLoader.java:511) 10-17 01:37:34.075: E/AndroidRuntime(5631): at java.lang.ClassLoader.loadClass(ClassLoader.java:469) 10-17 01:37:34.075: E/AndroidRuntime(5631): ... 14 more 10-17 01:37:34.075: E/AndroidRuntime(5631): Suppressed: java.lang.ClassNotFoundException: android.support.v4.content.LocalBroadcastManager 10-17 01:37:34.075: E/AndroidRuntime(5631): at java.lang.Class.classForName(Native Method) 10-17 01:37:34.075: E/AndroidRuntime(5631): at java.lang.BootClassLoader.findClass(ClassLoader.java:781) 10-17 01:37:34.075: E/AndroidRuntime(5631): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) 10-17 01:37:34.075: E/AndroidRuntime(5631): at java.lang.ClassLoader.loadClass(ClassLoader.java:504) 10-17 01:37:34.075: E/AndroidRuntime(5631): ... 15 more 10-17 01:37:34.075: E/AndroidRuntime(5631): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available 这个Log不是很看得懂,但是发现java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/content/LocalBroadcastManager; 说是找不到我导入的那个类,于是我在应用库里找,但是能够看到这个类 ![图片说明](https://img-ask.csdn.net/upload/201610/17/1476682996_496913.png) 但是点进这个类,却出现Failed to create the part's controls![图片说明](https://img-ask.csdn.net/upload/201610/17/1476683131_13356.png) 之后我就不知道该怎么继续找问题了,有没有大神能指教一下!!!!!新手自学不容易:(
NotSerializableException: net.sf.ezmorph.array
错误指的是ezmorph.jar这个jar包对象序列化的异常,不知道为什么,网上也找不到原因,oo.writeObject(srcObj);这里出的异常,srcObj对象有 implements Serializable,下面是代码 public static Object deepCopy(Object srcObj) { Object cloneObj = null; try { ByteArrayOutputStream out = new ByteArrayOutputStream(); ObjectOutputStream oo = new ObjectOutputStream(out); oo.writeObject(srcObj); ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); ObjectInputStream oi = new ObjectInputStream(in); cloneObj = oi.readObject(); oo.close(); oi.close(); } catch (IOException e) { e.printStackTrace(); } catch (ClassNotFoundException e) { e.printStackTrace(); } return cloneObj; } java.io.NotSerializableException: net.sf.ezmorph.array.IntArrayMorpher at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at java.util.ArrayList.writeObject(ArrayList.java:742) at sun.reflect.GeneratedMethodAccessor480.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1495) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at java.util.HashMap.writeObject(HashMap.java:1129) at sun.reflect.GeneratedMethodAccessor485.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1495) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at java.util.ArrayList.writeObject(ArrayList.java:742) 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 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1495) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at com.kimleysoft.creanterorder.tools.ObjectCopy.deepCopy(ObjectCopy.java:36) at com.kimleysoft.creanterorder.packagingdata.RecommendPriceDataPackaging$1.run(RecommendPriceDataPackaging.java:111) at java.lang.Thread.run(Thread.java:745)
java.lang.RuntimeException ,找不到配置的Action类
applicationContext.xml文件中配置scheduleAction了啊!struts.xml文件中“初始化当前用户显示所有日程列表”的action也是用的scheduleAction,为什么“查询日程列表”的action就找不到这个类呢? ---------------------- [img]http://dl.iteye.com/upload/attachment/570153/cb780579-43b0-3273-8efe-ee6ea4e7cb92.png[/img] --------------------- [img]http://dl.iteye.com/upload/attachment/570155/1cb500de-6251-3b01-bb08-28bd26c01d9d.png[/img] ---------------------- [img]http://dl.iteye.com/upload/attachment/570157/b0b8b53a-ce5a-31e4-b351-90cb8f96b835.png[/img] java.lang.RuntimeException: Invalid action class configuration that references an unknown class named [[color=red]scheduleAction[/color]] org.apache.struts2.convention.ConventionsServiceImpl.determineResultPath(ConventionsServiceImpl.java:100) org.apache.struts2.convention.ConventionUnknownHandler.determinePath(ConventionUnknownHandler.java:385) org.apache.struts2.convention.ConventionUnknownHandler.handleUnknownResult(ConventionUnknownHandler.java:274) com.opensymphony.xwork2.DefaultUnknownHandlerManager.handleUnknownResult(DefaultUnknownHandlerManager.java:76) com.opensymphony.xwork2.DefaultActionInvocation.createResult(DefaultActionInvocation.java:215) com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:356) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:266) com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:165) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:252) org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:179) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:235) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:89) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:130) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:126) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:138) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:165) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:179) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52) org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488) org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91) root cause java.lang.ClassNotFoundException: scheduleAction org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358) org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204) org.apache.struts2.util.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:111) org.apache.struts2.convention.ConventionsServiceImpl.determineResultPath(ConventionsServiceImpl.java:98) org.apache.struts2.convention.ConventionUnknownHandler.determinePath(ConventionUnknownHandler.java:385) org.apache.struts2.convention.ConventionUnknownHandler.handleUnknownResult(ConventionUnknownHandler.java:274) com.opensymphony.xwork2.DefaultUnknownHandlerManager.handleUnknownResult(DefaultUnknownHandlerManager.java:76) com.opensymphony.xwork2.DefaultActionInvocation.createResult(DefaultActionInvocation.java:215) com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:356) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:266) com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:165) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:252) org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:179) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:235) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:89) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:130) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:126) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:138) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:165) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:179) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52) org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488) org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)
mapper.xml报找不到对应的实体类
``` 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in URL [file:/D:/work/Tomcat/apache-tomcat-8.0.52/webapps/sc/WEB-INF/classes/applicationContext-mybatis.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [D:\work\Tomcat\apache-tomcat-8.0.52\webapps\sc\WEB-INF\classes\com\ultra\sc\mapper\CodeBaseMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.ultra.sc.model.CodeBase'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.ultra.sc.model.CodeBase at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1628) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:742) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4900) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5363) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1410) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1400) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [D:\work\Tomcat\apache-tomcat-8.0.52\webapps\sc\WEB-INF\classes\com\ultra\sc\mapper\CodeBaseMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.ultra.sc.model.CodeBase'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.ultra.sc.model.CodeBase at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:523) at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:380) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1687) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1624) ... 21 more Caused by: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.ultra.sc.model.CodeBase'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.ultra.sc.model.CodeBase at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:120) at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:92) at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:521) ... 24 more Caused by: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.ultra.sc.model.CodeBase'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.ultra.sc.model.CodeBase at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:118) at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:265) at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:252) at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElements(XMLMapperBuilder.java:244) at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:116) ... 26 more Caused by: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.ultra.sc.model.CodeBase'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.ultra.sc.model.CodeBase at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:120) at org.apache.ibatis.builder.BaseBuilder.resolveAlias(BaseBuilder.java:149) at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:116) ... 30 more Caused by: java.lang.ClassNotFoundException: Cannot find class: com.ultra.sc.model.CodeBase at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:200) at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:89) at org.apache.ibatis.io.Resources.classForName(Resources.java:261) at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:116) ... 32 more ``` 报找不到codeBase类,项目里可以找到,把mapper.xml里面的resultMap删了之后继续报下一个mapper.xml同样的错 同样的代码,其他同事的不报错 mapper.xml ![图片说明](https://img-ask.csdn.net/upload/201812/19/1545202008_405611.png) ![图片说明](https://img-ask.csdn.net/upload/201812/19/1545202091_365259.png) ![图片说明](https://img-ask.csdn.net/upload/201812/19/1545202142_712030.png)
flume上传文件到hadoop,没有文件时正常,有文件时抛出DistributeFileSystem not found?
flume配置好了,分布式。没有文件的时候运行正常,往它查询的目录上传一个文件就报错 Unable to deliver event. Exception follows. org.apache.flume.EventDeliveryException: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.hdfs.DistributeFileSystem not found 。但是hadoop-hdfs-2.7.3.jar我已经导入了。为啥会找不到,请指教。
weblgic 启动报错,找不到类
一开始下载了weblogic,后来卸载了又重安装了,然后启动后就报错 ``` Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/security/SecurityLogger at weblogic.security.utils.SecurityUtils.turnOffCryptoJDefaultJCEVerification(SecurityUtils.java:78) at weblogic.Server.main(Server.java:67) Caused by: java.lang.ClassNotFoundException: weblogic.security.SecurityLogger at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 2 more ```
在中国程序员是青春饭吗?
今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...
深析Synchronized关键字(小白慎入,深入jvm源码,两万字长文)
目录一、synchronized基础1.1synchronized的使用1.1示例1.2验证1.2.1 普通方法和代码块中使用this是同一个监视器(锁),即某个具体调用该代码的对象1.2.2 静态方法和代码块中使用该类的class对象是同一个监视器,任何该类的对象调用该段代码时都是在争夺同一个监视器的锁定1.2、synchronized的特点二、synchronized进阶2.1对象头2.2sy
GitHub 总星 4w+!删库?女装?表情包?这些沙雕中文项目真是我每天快乐的源泉!
大家好,我是 Rocky0429,一个喜欢在 GitHub 上瞎逛的蒟蒻… 好看的皮囊千篇一律,有趣的灵魂没有底线。作为全球最大的同性交友网站,GayHub GitHub 上不止有鲜活的代码,秃头的算法,还有很多拥有有(sha)趣(diao)灵魂的宝藏。 还记得我之前给大家介绍的 Sorry 项目嘛,一个可以自己做表情包的项目,这个的沙雕程度在下面这些项目面前只能算弟弟。虽然说沙雕不分国...
程序员请照顾好自己,周末病魔差点一套带走我。
程序员在一个周末的时间,得了重病,差点当场去世,还好及时挽救回来了。
卸载 x 雷某度!GitHub 标星 1.5w+,从此我只用这款全能高速下载工具!
作者 | Rocky0429 来源 | Python空间 大家好,我是 Rocky0429,一个喜欢在网上收集各种资源的蒟蒻… 网上资源眼花缭乱,下载的方式也同样千奇百怪,比如 BT 下载,磁力链接,网盘资源等等等等,下个资源可真不容易,不一样的方式要用不同的下载软件,因此某比较有名的 x 雷和某度网盘成了我经常使用的工具。 作为一个没有钱的穷鬼,某度网盘几十 kb 的下载速度让我...
20道你必须要背会的微服务面试题,面试一定会被问到
这篇博客总结了面试中最常见的微服务面试题,相信对你有所帮助。
讲真,这两个IDE插件,可以让你写出质量杠杠的代码
周末躺在床上看《拯救大兵瑞恩》 周末在闲逛的时候,发现了两个优秀的 IDE 插件,据说可以提高代码的质量,我就安装了一下,试了试以后发现,确实很不错,就推荐给大家。 01、Alibaba Java 代码规范插件 《阿里巴巴 Java 开发手册》,相信大家都不会感到陌生,其 IDEA 插件的下载次数据说达到了 80 万次,我今天又贡献了一次。嘿嘿。 该项目的插件地址: https://github....
为什么猝死的都是程序员,基本上不见产品经理猝死呢?
相信大家时不时听到程序员猝死的消息,但是基本上听不到产品经理猝死的消息,这是为什么呢? 我们先百度搜一下:程序员猝死,出现将近700多万条搜索结果: 搜索一下:产品经理猝死,只有400万条的搜索结果,从搜索结果数量上来看,程序员猝死的搜索结果就比产品经理猝死的搜索结果高了一倍,而且从下图可以看到,首页里面的五条搜索结果,其实只有两条才是符合条件。 所以程序员猝死的概率真的比产品经理大,并不是错...
毕业5年,我问遍了身边的大佬,总结了他们的学习方法
我问了身边10个大佬,总结了他们的学习方法,原来成功都是有迹可循的。
推荐10个堪称神器的学习网站
每天都会收到很多读者的私信,问我:“二哥,有什么推荐的学习网站吗?最近很浮躁,手头的一些网站都看烦了,想看看二哥这里有什么新鲜货。” 今天一早做了个恶梦,梦到被老板辞退了。虽然说在我们公司,只有我辞退老板的份,没有老板辞退我这一说,但是还是被吓得 4 点多都起来了。(主要是因为我掌握着公司所有的核心源码,哈哈哈) 既然 4 点多起来,就得好好利用起来。于是我就挑选了 10 个堪称神器的学习网站,推...
良心推荐,我珍藏的一些Chrome插件
上次搬家的时候,发了一个朋友圈,附带的照片中不小心暴露了自己的 Chrome 浏览器插件之多,于是就有小伙伴评论说分享一下我觉得还不错的浏览器插件。 我下面就把我日常工作和学习中经常用到的一些 Chrome 浏览器插件分享给大家,随便一个都能提高你的“生活品质”和工作效率。 Markdown Here Markdown Here 可以让你更愉快的写邮件,由于支持 Markdown 直接转电子邮...
看完这篇HTTP,跟面试官扯皮就没问题了
我是一名程序员,我的主要编程语言是 Java,我更是一名 Web 开发人员,所以我必须要了解 HTTP,所以本篇文章就来带你从 HTTP 入门到进阶,看完让你有一种恍然大悟、醍醐灌顶的感觉。 最初在有网络之前,我们的电脑都是单机的,单机系统是孤立的,我还记得 05 年前那会儿家里有个电脑,想打电脑游戏还得两个人在一个电脑上玩儿,及其不方便。我就想为什么家里人不让上网,我的同学 xxx 家里有网,每...
2020 年,大火的 Python 和 JavaScript 是否会被取而代之?
Python 和 JavaScript 是目前最火的两大编程语言,但是2020 年,什么编程语言将会取而代之呢? 作者 |Richard Kenneth Eng 译者 |明明如月,责编 | 郭芮 出品 | CSDN(ID:CSDNnews) 以下为译文: Python 和 JavaScript 是目前最火的两大编程语言。然而,他们不可能永远屹立不倒。最终,必将像其他编程语言一...
C语言数字图像处理---1.4直方图拉伸和直方图均衡化
本篇将延续上一篇的内容,对直方图进行扩展,讲述直方图拉伸和直方图均衡化两个内容,并通过简单的C语言来实现这两个基础功能,让初学者通俗易懂。
史上最全的IDEA快捷键总结
现在Idea成了主流开发工具,这篇博客对其使用的快捷键做了总结,希望对大家的开发工作有所帮助。
阿里程序员写了一个新手都写不出的低级bug,被骂惨了。
这种新手都不会范的错,居然被一个工作好几年的小伙子写出来,差点被当场开除了。
谁是华为扫地僧?
是的,华为也有扫地僧!2020年2月11-12日,“养在深闺人不知”的华为2012实验室扫地僧们,将在华为开发者大会2020(Cloud)上,和大家见面。到时,你可以和扫地僧们,吃一个洋...
没用过这些 IDEA 插件?怪不得写代码头疼
使用插件,可以提高开发效率。对于开发人员很有帮助。这篇博客介绍了IDEA中最常用的一些插件。
AI 没让人类失业,搞 AI 的人先失业了
最近和几个 AI 领域的大佬闲聊 根据他们讲的消息和段子 改编出下面这个故事 如有雷同 都是巧合 1. 老王创业失败,被限制高消费 “这里写我跑路的消息实在太夸张了。” 王葱葱哼笑一下,把消息分享给群里。 阿杰也看了消息,笑了笑。在座几位也都笑了。 王葱葱是个有名的人物,21岁那年以全额奖学金进入 KMU 攻读人工智能博士,累计发表论文 40 余篇,个人技术博客更是成为深度学习领域内风向标。 ...
2020年,冯唐49岁:我给20、30岁IT职场年轻人的建议
点击“技术领导力”关注∆每天早上8:30推送 作者|Mr.K 编辑| Emma 来源|技术领导力(ID:jishulingdaoli) 前天的推文《冯唐:职场人35岁以后,方法论比经验重要》,收到了不少读者的反馈,觉得挺受启发。其实,冯唐写了不少关于职场方面的文章,都挺不错的。可惜大家只记住了“春风十里不如你”、“如何避免成为油腻腻的中年人”等不那么正经的文章。 本文整理了冯...
推荐一些有趣的在线编程游戏
1.Robocode 让坦克们互相博弈的游戏,你可以看到它们飞奔,碾碎一切挡道的东西。机器人配有雷达与火炮,选手在躲避对手进攻的同时攻击对手,以此来较量得分的多少。这个游戏很有意思,曾经令我沉迷… 你可以用Java、Scala、C#等编程语言,编写人工智能程序,驱动机器人。 2.Code Combat Code Combat是一款学习编程的角色扮演游戏。每一关都用任务的形式设立目标,用实时的反馈...
工作十年的数据分析师被炒,没有方向,你根本躲不过中年危机
2020年刚刚开始,就意味着离职潮高峰的到来,我身边就有不少人拿着年终奖离职了,而最让我感到意外的,是一位工作十年的数据分析师也离职了,不同于别人的主动辞职,他是被公司炒掉的。 很多人都说数据分析是个好饭碗,工作不累薪资高、入门简单又好学。然而今年34的他,却真正尝到了中年危机的滋味,平时也有不少人都会私信问我: 数据分析师也有中年危机吗?跟程序员一样是吃青春饭的吗?该怎么保证自己不被公司淘汰...
作为一名大学生,如何在B站上快乐的学习?
B站是个宝,谁用谁知道???? 作为一名大学生,你必须掌握的一项能力就是自学能力,很多看起来很牛X的人,你可以了解下,人家私底下一定是花大量的时间自学的,你可能会说,我也想学习啊,可是嘞,该学习啥嘞,不怕告诉你,互联网时代,最不缺的就是学习资源,最宝贵的是啥? 你可能会说是时间,不,不是时间,而是你的注意力,懂了吧! 那么,你说学习资源多,我咋不知道,那今天我就告诉你一个你必须知道的学习的地方,人称...
那些年,我们信了课本里的那些鬼话
教材永远都是有错误的,从小学到大学,我们不断的学习了很多错误知识。 斑羚飞渡 在我们学习的很多小学课文里,有很多是错误文章,或者说是假课文。像《斑羚飞渡》: 随着镰刀头羊的那声吼叫,整个斑羚群迅速分成两拨,老年斑羚为一拨,年轻斑羚为一拨。 就在这时,我看见,从那拨老斑羚里走出一只公斑羚来。公斑羚朝那拨年轻斑羚示意性地咩了一声,一只半大的斑羚应声走了出来。一老一少走到伤心崖,后退了几步,突...
张朝阳回应迟到 1 分钟罚 500:资本家就得剥削员工
loonggg读完需要2分钟速读仅需 1 分钟大家我,我是你们的校长。前几天,搜狐的董事局主席兼 CEO 张朝阳和搜狐都上热搜了。原因很简单,就是搜狐出了“考勤新规”。一封搜狐对员工发布...
一个程序在计算机中是如何运行的?超级干货!!!
强烈声明:本文很干,请自备茶水!???? 开门见山,咱不说废话! 你有没有想过,你写的程序,是如何在计算机中运行的吗?比如我们搞Java的,肯定写过这段代码 public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World!"); } ...
【蘑菇街技术部年会】程序员与女神共舞,鼻血再次没止住。(文末内推)
蘑菇街技术部的年会,别开生面,一样全是美女。
那个在阿里养猪的工程师,5年了……
简介: 在阿里,走过1825天,没有趴下,依旧斗志满满,被称为“五年陈”。他们会被授予一枚戒指,过程就叫做“授戒仪式”。今天,咱们听听阿里的那些“五年陈”们的故事。 下一个五年,猪圈见! 我就是那个在养猪场里敲代码的工程师,一年多前我和20位工程师去了四川的猪场,出发前总架构师慷慨激昂的说:同学们,中国的养猪产业将因为我们而改变。但到了猪场,发现根本不是那么回事:要个WIFI,没有;...
为什么程序猿都不愿意去外包?
分享外包的组织架构,盈利模式,亲身经历,以及根据一些外包朋友的反馈,写了这篇文章 ,希望对正在找工作的老铁有所帮助
Java校招入职华为,半年后我跑路了
何来 我,一个双非本科弟弟,有幸在 19 届的秋招中得到前东家华为(以下简称 hw)的赏识,当时秋招签订就业协议,说是入了某 java bg,之后一系列组织架构调整原因等等让人无法理解的神操作,最终毕业前夕,被通知调往其他 bg 做嵌入式开发(纯 C 语言)。 由于已至于校招末尾,之前拿到的其他 offer 又无法再收回,一时感到无力回天,只得默默接受。 毕业后,直接入职开始了嵌入式苦旅,由于从未...
世界上有哪些代码量很少,但很牛逼很经典的算法或项目案例?
点击上方蓝字设为星标下面开始今天的学习~今天分享四个代码量很少,但很牛逼很经典的算法或项目案例。1、no code 项目地址:https://github.com/kelseyhight...
立即提问