windows系统开发JAVAWEB的hadoop工程创建Configuration对象报错

org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: org/apache/hadoop/conf/Configuration
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:978)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.__invoke(StandardContextValve.java:106)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:40002)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:283)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2463)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2452)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

程序片段:

public  void getCount() throws Exception {
    Configuration conf = new Configuration();
    Path output = new Path("output");

    FileSystem fs = FileSystem.get(URI.create(output.toString()), conf);
    if (fs.exists(output)) {
        fs.delete(output);
    }

4个回答

检查一下guava,commons-collections,commons-logging是否存在依赖

qq_33431715
qq_33431715 加入hadoop-core的依赖就成功解决这个错误,但是又爆了另一个错误org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoSuchMethodError: org.apache.hadoop.util.StringUtils.toUpperCase(Ljava/lang/String;)
一年多之前 回复
qq_33431715
qq_33431715 一直都是执行报错
一年多之前 回复
xcgh
xcgh 回复qq_33431715: <scope>provided</scope>是编译和测试使用,现在是执行报错吧?
一年多之前 回复
qq_33431715
qq_33431715 加上这些依赖还是报同样的错误
一年多之前 回复

maven依赖如下

    <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-common</artifactId>
        <version>3.0.0</version>
        <scope>provided</scope>
    </dependency>
    <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-hdfs</artifactId>
        <version>2.9.0</version>
    </dependency>
    <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-mapreduce-client-common</artifactId>
        <version>2.9.0</version>
    </dependency>
    <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-mapreduce-client-core</artifactId>
        <version>2.9.0</version>
    </dependency>
    <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
        <version>2.9.0</version>
    </dependency>

如下所示

  <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-common</artifactId>
        <version>3.0.0</version>
        <scope>provided</scope>
    </dependency>
    <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-hdfs</artifactId>
        <version>2.9.0</version>
    </dependency>
    <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-mapreduce-client-common</artifactId>
        <version>2.9.0</version>
    </dependency>
    <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-mapreduce-client-core</artifactId>
        <version>2.9.0</version>
    </dependency>
    <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
        <version>2.9.0</version>
    </dependency>

楼主,你好,org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoSuchMethodError: org.apache.hadoop.util.StringUtils.toUpperCase(Ljava/lang/String;)这个报错你是怎么解决的呢

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
javaweb系统开发
请问大佬们,图中的项目有使用什么框架技术吗?[img=https://img-bbs.csdn.net/upload/201906/05/1559727051_375020.jpg][/img]
maven命令 创建javaweb 工程
//创建工程 mvn archetype:generate -DgroupId=com.mycompany.app1 -DartifactId=my-app1 -DarchetypeArtifactId=maven-archetype-webapp -DinteractiveMode=false //转换成eclipse 命令  mvn eclipse:eclipse
创建maven工程报错!
[size=24px]错误提醒[/size]rnDescription Resource Path Location Typern Failure to transfer org.codehaus.plexus:plexus-utils:jar:3.0 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 artifact org.codehaus.plexus:plexus-utils:jar:3.0 from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled. pom.xml /maventest line 1 Maven Configuration Problemrn
创建HtmlUnitDriver对象报错
import org.openqa.selenium.WebDriver;rnimport org.openqa.selenium.htmlunit.HtmlUnitDriver;rnrnrnrn@SuppressWarnings("unused")rnpublic class Test rnrn public static void main(String[] args) throws Exception rn WebDriver dr = new HtmlUnitDriver(true);rn dr.get(Data.strLOGIN_URL);rn rnrnrnrn```rn rn```rnrn错误rnrnException in thread "main" java.lang.NoSuchMethodError: com.gargoylesoftware.htmlunit.WebClient.setThrowExceptionOnFailingStatusCode(Z)Vrn at org.openqa.selenium.htmlunit.HtmlUnitDriver.createWebClient(HtmlUnitDriver.java:160)rn at org.openqa.selenium.htmlunit.HtmlUnitDriver.(HtmlUnitDriver.java:108)rn at org.openqa.selenium.htmlunit.HtmlUnitDriver.(HtmlUnitDriver.java:149)rn at com.iulicai.test.Test.main(Test.java:14)
创建WINDOWS APPLICATION工程
我使用的是VS。NET BATE2rn我在创建WINDOWS APPLICATION新工程时,在FORM1。CS[设计器]中显示加载文档时出错:找不到文件或程序集名称“ENVDTE”或找不到它的一个依赖项。rn可在搜索中能发现:ENVDTE。DLL 在\WINNT\MICROSOFT.NET\FRAMEWORK\V1.0.2914下rn请问这是什么问题。rn请前辈们帮帮小弟,谢谢!!!!
windows下搭建hadoop工程(一)
一、安装文件准备 1:下载好hadoop-1.0.0.tar.gz, 下载地址是https://archive.apache.org/dist/hadoop/core/hadoop-1.0.0/ 2:解压到D:\hadoop\cygwin\zhangmanyi\目录下。二、启动hadoop 1、修改hadoop配置文件,在conf目录下,修改mapred-site.xml、core-site
求助:关于Hibernate3创建Configuration对象的问题
创建Configuration对象的时候报:rnjava.lang.NoClassDefFoundError: org/dom4j/DocumentExceptionrnrn说明:1、hibernate.cfg.xml文件在classes目录下rn 2、使用的包是hibernate3.jarrn 3、hibernate.cfg.xml文件是这样的:rn rn rn rn rn java:comp/env/jdbc/tfms rn COM.ibm.db2.jdbc.app.DB2Driver rn db2admin rn db2admin rn com.gdp.framework.bus.dao.GDPDb2Dialect rn true rn true rn rn rn rn
创建maven项目工程packaging报错
1.报错内容: Multiple annotations found at this line:     - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-resources-plugin:2.5:testResources (execution: defaul
创建maven工程报错求解
我首先创建了一个simple的maven工程,之后在父包下创建 module的时候就报了一个错rnrnrn[img=https://img-bbs.csdn.net/upload/201507/16/1437017490_69.png][/img]rnrnrn求解这是什么原因,在google 上找的答案都是加代理。 可是我的网络没有使用到代理 ,在线等大神来答
maven工程创建详解:java、javaweb
首先,myeclipse或者eclipse只要不是太低的版本都内置了maven,但是版本不太好,并且不稳定。所以咱们首先是要把自己的maven引入到IDE中。这里就不详述,详情参考另一博客:引入外部maven到eclipse或myeclipse Java工程 两种方式,第一种不建议  第一种   以上方法创建的maven目录结构不太完整,缺少res
maven configuration problem报错
[img=https://img-bbs.csdn.net/upload/201905/17/1558081989_217597.png][/img]rnrnrn请大佬帮忙
ibatis创建SqlMapClient对象报错!
String resource="sql-map-config.xml";rnReader reader;rntry rnreader=Resources.getResourceAsReader(resource);rnSqlMapClient sqlMap=SqlMapClientBuilder.buildSqlMapClient(reader);rncatch(IOException e)rnrne.printStackTrace();rnrn在新建sqlMap对象时报错:rnjava.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactoryrnrn求教!!!
C#创建动态对象报错
用VS2010 C#语言,注册好dll文件后,在WinForm项目里面,可以引用COM组件创建动态对象。但是,在AspNet项目里面,用同样的代码创建会报错,代码如下。rn[code=csharp]dynamic dicVoucher1 = Activator.CreateInstance(Type.GetTypeFromProgID("KFO.Dictionary"));[/code]rn报错信息如下。rnSystem.InvalidCastException: 从 IClassFactory 为 CLSID 为 09AFE6FD-5BDB-11D1-9C2A-127658000000 的 COM 组件创建实例失败,原因是出现以下错误: 80004002。rnrn请各路神仙帮忙分析下到底是什么原因。
云应用系统开发——Hadoop分布式数据库
实验目的:  搭建Hbase编程环境  配置Eclipse和引入合适的jar包  Hadoop集群与Hbase启动顺序  Hbase应用程序练习  书上代码练习  学习编写一个Hbase API程序 实验要求:  学会创建HBase的工程项目,至少掌握以下一种方法  学会使用Maven创建一个工程项目  学会在普通的Java工程项目中配置HBase编程环境  配置好运行环境与运...
Hadoop Configuration 管理配置文件与传递参数
作用: 用来管理配置文件,设置参数 用来传递参数 分析查看Configuration的源码可以看到文件加载了这两个配置,所以在集群中,如果直接 Configuration conf = new Configuration(); 不给conf配置的话,会默认去读取DefaultResource这两个参数的内容addDefaultResource("core-default.xml"); addDefa
Hadoop环境编程-Configuration类的使用
程序开发中,经常需要将程序执行中的相关参数进行可配置化,以实现程序的灵活性。在Hadoop环境下编程,也有同样的需求。本文介绍在MapReduce编程中,怎样使用Configuration类读取相关配置。这些配置可能不仅仅在Job配置时需要,有些配置还要在Map或者Reduce编程间传递。
IT兄弟连 JavaWeb教程 创建异步请求对象
异步请求对象:XMLHttpRequest对象,通过该对象向服务器发送异步请求。它是异步请求的技术,所有的现代浏览器(IE7+、FireFox、Chrome、Safari以及Opera)都支持,老版本的IE浏览器(IE5和IE6)不支持XMLHttpRequest对象,需要使用ActiveX对象。这样的类首先由Internet Explorer以ActiveX对象引入,被称为XMLHTTP,后来其...
1、javaweb listener 对象的创建销毁--监听
web监听器 主要有三类: 1.ServletContext:对servlet上下文(application对象)进行监听 2.Session:对session监听 3.Request:对request的监听 监听器是一个实现特定接口的普通java类,这个程序专门用于监听另一个java对象的方法调用或属性改变,当监听到事...
windows系统开发
windows常用开发,经验之谈,很好的大家看看
创建JavaWeb
IDEA 全称IntelliJ IDEA,是java语言开发的集成环境,IntelliJ在业界被公认为最好的java开发工具之一。Intellij IDEA 最突出的功能自然是调试(Debug),可以对Java代码、JavaScript、JQuery和Ajax等技术进行调试。
hadoop中的Configuration对象和FilSystem是什么有什么用?
问题: Configuration conf=new Configuration(); FileSystem fs=FileSystem.get(URI.create(“/user/algo/wy/tmp”),conf); 这是打开hdfs系统上的文件的常用写法。但是我不明白: conf感觉就是一个空的配置文件,一个空的配置文件相当于里面没有携带任何有用的信息,为什么FileSystem的g
hadoop报错
-
Hadoop报错
报错一 指定hadoop临时目录--> hadoop.tmp.dir /usr/local/software/hadoop/tmp 备注:如没有配置hadoop.tmp.dir参数,此时系统默认的临时目录为:/tmp/hadoo-hadoop。而这个目录在每次重启后都会被干掉,必须重新执行format才行,否则会出错。
javaweb 定时器工程
java游戏服务器中,需要使用到的定时器功能 现在要讲解的是一个quartz-all-1.8.6.jar另外一个是ScheduledThreadPoolExecutor。
解决windows下运行hadoop客户端报错
1、访问hdfs时报权限错误: Permission denied: user=administrator, access=WRITE, inode="/":root:supergroup 解决:配置JVA运行参数 -DHADOOP_USER_NAME=对应用户名 2、 Could not locate Hadoop executable: E:\lib\hadoop-2.8.0
Ajax JavaWeb 工程实例
Ajax+Servlet实现不刷新页面更新局部数据,java web工程实例
JAVAweb连接oracle数据库工程
JAVAweb连接oracle数据库工程 JAVAweb连接oracle数据库工程
简单的javaweb登录工程
简单的javaweb登录工程简单的javaweb登录工程简单的javaweb登录工程 请记得导入相关的包
myeclipse创建maven工程报错 Could not resolve
myeclipse创建maven工程报错 Could not resolve
在Ubuntu下eclipse的maven工程下创建jsp页面报错
1.原因 Javaweb工程类中没有添加Tomcat运行时相关类导致(Javaweb工程类中没有添加Web 容器Runtime相关类导致)。 2 .解决 ① 不进行tomcat的加载,可以在pom.xml中加入jar的依赖:                 javax.servlet         servlet-api         2.5         pr
Xcode7创建的工程发送HTTP请求报错
苹果在Xcode7之后,在创建新项目用到 URL 发送请求时,对协议进行了限制,开始采用HTTPS协议。
eclipse创建maven工程时报错
使用的是官方的Eclipse中自带的m2e插件,创建maven项目时就弹出个错误rn![图片说明](https://img-ask.csdn.net/upload/201507/15/1436949464_186734.png)rn在pom.xml文件那会显示个红X,提示如下:rnMultiple annotations found at this line:rn - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (execution: default-testCompile, phase: test-rn compile)rn - Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources failed: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 rn or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven:maven-plugin-api:jar:2.0.6, org.apache.maven:maven-rn project:jar:2.0.6, org.apache.maven:maven-profile:jar:2.0.6, org.apache.maven:maven-artifact-manager:jar:2.0.6, org.apache.maven:maven-plugin-registry:jar:2.0.6, rn org.apache.maven:maven-core:jar:2.0.6, org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6, org.apache.maven:maven-repository-metadata:jar:2.0.6, rn org.apache.maven:maven-error-diagnostics:jar:2.0.6, org.apache.maven:maven-plugin-descriptor:jar:2.0.6, org.apache.maven:maven-artifact:jar:2.0.6, org.apache.maven:maven-rn settings:jar:2.0.6, org.apache.maven:maven-model:jar:2.0.6, org.apache.maven:maven-monitor:jar:2.0.6, org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1: rn Failure to transfer org.apache.maven:maven-plugin-api:jar:2.0.6 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted rn until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven:maven-plugin-api:jar:2.0.6 from/to central rn (https://repo.maven.apache.org/maven2): The operation was cancelled. (org.apache.maven.plugins:maven-resources-plugin:2.6:resources:default-resources:process-resources) rn org.apache.maven.plugin.PluginExecutionException: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources failed: Plugin rn org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven:maven-rn plugin-api:jar:2.0.6, org.apache.maven:maven-project:jar:2.0.6, org.apache.maven:maven-profile:jar:2.0.6, org.apache.maven:maven-artifact-manager:jar:2.0.6, rn org.apache.maven:maven-plugin-registry:jar:2.0.6, org.apache.maven:maven-core:jar:2.0.6, org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6, rn org.apache.maven:maven-repository-metadata:jar:2.0.6, org.apache.maven:maven-error-diagnostics:jar:2.0.6, org.apache.maven:maven-plugin-descriptor:jar:2.0.6, rn org.apache.maven:maven-artifact:jar:2.0.6, org.apache.maven:maven-settings:jar:2.0.6, org.apache.maven:maven-model:jar:2.0.6, org.apache.maven:maven-monitor:jar:2.0.6, rn org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1: Failure to transfer org.apache.maven:maven-plugin-api:jar:2.0.6 from https://repo.maven.apache.org/rn 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 rn transfer artifact org.apache.maven:maven-plugin-api:jar:2.0.6 from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled. at rn org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106) at rn org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:331) at org.eclipse.m2e.core.internal.embedder.MavenImpl$11.call(MavenImpl.java:1362) at rn org.eclipse.m2e.core.internal.embedder.MavenImpl$11.call(MavenImpl.java:1) at rn org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176) at rn org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:112) at rn org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1360) at rn org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant.build(MojoExecutionBuildParticipant.java:52) at rn org.eclipse.m2e.core.internal.builder.MavenBuilderImpl.build(MavenBuilderImpl.java:137) at org.eclipse.m2e.core.internal.builder.MavenBuilder$1.method(MavenBuilder.java:172) at rn org.eclipse.m2e.core.internal.builder.MavenBuilder$1.method(MavenBuilder.java:1) at org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod$1$1.call(MavenBuilder.java:rn 115) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176) at rn org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:112) at org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethodrn $1.call(MavenBuilder.java:105) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176) at rn org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151) at rn org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:99) at org.eclipse.m2e.core.internal.builder.MavenBuilderrn $BuildMethod.execute(MavenBuilder.java:86) at org.eclipse.m2e.core.internal.builder.MavenBuilder.build(MavenBuilder.java:200) at org.eclipse.core.internal.events.BuildManagerrn $2.run(BuildManager.java:734) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:205) rn at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:245) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:300) at rn org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:303) at rn org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:359) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:382) at rn org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235) at rn org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Caused by: org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.maven.plugins:maven-resources-rn plugin:2.6 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven:maven-plugin-api:jar:2.0.6, org.apache.maven:maven-rn project:jar:2.0.6, org.apache.maven:maven-profile:jar:2.0.6, rn请问如何解决?谢谢rn-----rn本机安装的maven是3.2.2rneclipse是4.5rnm2e是1.2rn-----rn最后也不知道什么原因,重新下了eclipse就没有问题了
菜鸟 eclipse下运行 创建 j2me工程报错
创建工程时出现missing的红叉叉
maven工程创建报错问题汇总
(我自己处问题的情况通常在,项目a在调试期间,问题还未解决,存在bug的时候,我再去创建项目b,就很可能会出现创建错误。) 一: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin (对应处理办法,看下文共同处理办法) 二: unable to import maven see logs for deta...
创建DataAdapter时总是报错(用Data Adapter Configuration)
报错提示Update和Delete Command不能创建,错误如下:rnCould not determine which columns uniquely identify the rows for "tab_EqRegData".rn有谁知道是怎么回事吗?谢谢!
创建游戏工程和游戏场景,添加游戏对象
本课程是Unity游戏开发的入门课程,课程分为上、下两个部分。上篇主要讲述游戏的基本概念、Unity的开发环境、游戏资源的创建和使用等基础内容。
vs2010创建atl工程, 调整工程结构后报错
就是把工程文件和源文件等放到对应的文件夹rnrn~然后打开工程文件,把原来的删除重新添加文件之后报错rnrn>mfcs100u.lib(dllmodul.obj) : error LNK2005: DllMain already defined in dllmain.objrn1> Creating library I:\XXXXXXs.lib and object I:xxxxxxx.exprn1>I:\XXXXXX.dll : fatal error LNK1169: one or more multiply defined symbols foundrnrn”XXXX“号部分只是文件路径和文件名~希望不会对你们的理解造成困扰~
用vs2013创建一个ole对象工程
对于深入学习duilib的richedit童鞋,有一个很好的demo提供学习,网站是:http://download.csdn.net/detail/zym_123456/5099755 (谢谢作者分享)         但是对于怎样去插入一个ole对象,是很多像我一样的新手困扰的问题。下面,我演示下用vs2013如何去创建一个ole对象,并且可以提供可以被Richedit调用的方法; 创建o
工程报错
环境 MyEclipse+Tomcat7+JDK1.7rnrn原来的工程都是正常的,上传到SVN后再下载回来rnrn有6个编译错误,都是这种错误 rnrnList scans=scanService.getScansByRFID(vo.getScans().get(0).getRfid());rnrngetScansByRFID 返回的是Scan。rnrnError提示,rnrnDescription Resource Path Location TypernType mismatch: cannot convert from Scan to List ScanController.java /scan/action/com/sinosig/app/controller line 180 Java Problemrnrn这个原来是可以的呀,JDK没换啊,需要设置 JDK的地方都检查了,都是1.7啊
JavaWeb 报错记录
一.Could not autowire field org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pictureController': Injection of autowired dependencies failed; nested exception is ...
相关热词 c# 标准差 计算 c#siki第五季 c#入门推荐书 c# 解码海康数据流 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池