运行invalid resource directory name。急求! 5C

Android studio 2.3:Error:android-apt-compiler: [xxxx] invalid resource directory name: C:\Users\Administrator\Desktop\myapp\app\src com
图片说明
图片说明

2个回答

看下你的res目录,里面是不是混入了别的东西:https://blog.csdn.net/leilu2008/article/details/6316127

happy_back
happy_back 是src目录报错呢
一年多之前 回复

invalid resource directory name: C:\Users\Administrator\Desktop\Android build to
ols\apk2java\apktool1.4.1\NewFisho\res/drawable-xxhdpi

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl

ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-

将res目录下多余的目录删除即可,如drawable-xxhdpi

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
invalid resource directory name。如何解决?
请问2.3.3平台下,资源的文件夹名的问题。rnrn默认的资源名有三个:rndrawable-hdpirndrawable-ldpirndrawable-mdpirnrn我想支持中文,添加了三个文件夹:rndrawable-hdpi-cn-rCNrndrawable-ldpi-cn-rCNrndrawable-mdpi-cn-rCNrn全部报非法。rnrn以上问题:40分。rnrn以下问题200分,补分的方式给:rn请推荐一下android原理类的书。不要技巧类的,培训类的。
错误:ora-02778:name given for the log directory is invalid
在学习oracle数据库,想手工建立数据库,在创建例程后,启动例程时出现如下错误:ora-02778:name given for the log directory is invalidrn我主要执行了如下步骤:rnoradim -new -sid person -initpwd sys -startmode autornsqlplus /nologrnconn sys/sys as sysdbarn提示连接到一个空闲例程rnset echo onrnstartup nomountrn到这一步就出现了错误:ora-02778rnrn
Bad Request (Invalid Header Name) 急求高手解决!~
我在用CURL模拟一个POST请求的时候 出现了这样的错误....
name directory service
name directory service (Solais English)
Invalid object name 'week'?
我已经创建了一张表week(week_ID,week_basetime)rn然后想批量的给 week_ID 赋值  从1自动 到100rn我点击New Query按钮加入以下语句rnrnDECLARE @INT AS INT rnSET @INT = 0 rnWHILE @INT < 500000 --这里设置需要插入多少行 rnBEGIN rnSET @INT = @INT + 1 rnINSERT INTO week(week_ID,week_basetime) SELECT @INT,''rnENDrnrnrn检查无误rn执行的时候rn为何提示Invalid object name 'week'?
invalid column name''错误!
function Tietafm.HasExisted(NewText:String):Boolean;rn//检查是否与数据库中数据重复rnvarrn Tmp_Str:String;rnbeginrn newtext:=trim(newtext);rn Result:=false;rn Tmp_Str:=' SELECT * FROM bmta 'rn +' WHERE ta001="'+NewText+'"';rn with taqry1 dorn beginrn taqry1.Close;rn taqry1.SQL.Clear;rn taqry1.SQL.Add(Tmp_Str);rn //tryrn taqry1.Open;rn //if taqry1.IsEmpty then //判断此值在数据库中可否不为空rn if not (taqry1.Eof and taqry1.Bof) then //判断数据库中可有相同值rn beginrn Result:=True;rn taqry1.Free;rn endrn elsern //result:=false;rn //exceptrn // Application.MessageBox('程序出错', '错误', MB_OK);rn //on e:exception do showmessage('错误:信息如下'+#13+e.Message);rn //end;rn end;rnend; rnrnrnprocedure Tietafm.ToolButton7Click(Sender: TObject);//数据保存按钮rnbeginrn if dbedit1.Text = '' thenrn beginrn Application.MessageBox('对不起,不能插入空记录','添加数据错误', MB_OK);rn tatable.Refresh;rn tatable.Append;rn endrn elsern if hasexisted(DBEdit1.Text) then //检查数据是否重复rn beginrn tatable.Post;rn tatable.Append;rn endrn elsern Application.MessageBox('对不起,产品编号不能重复', '添加数据错误', MB_OK);rn DBEdit1.Clear;rn DBEdit1.SetFocus;rn // Abort;rnend;rnrnrn当我输入一个重复的数据(1001)是,弹出“ Invalid colunm name '1000'”!rn请各位高手帮我看看哪个地方错了? 谢谢~~~
Invalid object name 'rfqs'.
新用sqlserver,就碰到了这么郁闷的问题,网上查了下,但是没有找到合适的答案,请高手告诉这个问题怎么解决 其中'rfqs'.是一个表名,谢谢
Invalid object name 'tb_bookInfo'.
Invalid object name 'tb_bookInfo'.rnrndebug的时候出这样的错,这是什么原因呀?rnrn求指教!
ORA-00903: invalid table name
[code=SQL]rnSQL> select table_name from user_tables where table_name like 'T_';rnrnTABLE_NAMErn------------------------------rnTBrnT5rnT4rnT2rnT1rn[/code]rnrn[code=SQL]rndeclarern s varchar2(100);rnbeginrn for x in (select table_name from user_tables where table_name like 'T_') looprn s := 'drop table :1';rn dbms_output.put_line(s);rn execute immediate s using x.table_name;rn end loop;rnend;rn[/code]rnrn错误如下:请问这是怎么回事啊?rn[code=SQL]rndrop table :1rndeclarern*rnERROR at line 1:rnORA-00903: invalid table namernORA-06512: at line 7rn[/code]
Invalid field name???
Invalid field name.rn[microsoft][ODBC SQL Server Driver][SQL Server]列名'model1'无效rnrn我在对进行供销存系统月结关账时,系统提示执行语句失败,然后弹出上面的提示,请问是什么原因,我要怎么做才能完成库存月结?
报错 invalid directory 怎么解决
我用OpenDialog打开一个DB文件 在StringGrid中显示 程序编译成功后 选择了文件后提示invalid directory 非法目录? 为什么 与中文路径有关么?
use \\ to link directory and file name
I notice when use fopen to open a file which is not in the current directory . YOu should use \\ to link directory and file name rnlike fopen("c:\directory\\file.txt ","r")rnrnCan anyone explain the background of this logic . What happen in Unix ?
invalid redeclaration of type name "PID"
#include "MK60N512VMD100.h"rn/*=====================================rnPID结构体rnSteering:舵机PID结构rnDynamo:电机PID结构rn======================================*/rntypedef structrnrn rn unsigned int SetPoint;rn unsigned int LastError;rn unsigned int PrevError;rn double Kp;rn double Ki;rn double Kd;rnPID;rnstatic PID Steering,Dynamo;rnrnrnvoid PID_Init();rnunsigned int PID_Control(PID* pid,unsigned int NextPoint,double Kp,double Ki,double Kd);rnvoid Steering_Control(unsigned int SetPoint,float difference,double Kp,double Ki,double Kd);rnvoid Dynamo_Control(unsigned int SetPoint,double Kp,double Ki,double Kd);rnrnrnrn不知道问什么它就报错了rnError[Pe256]: invalid redeclaration of type name "PID" (declared at line 16) C:\Users\zhq\Desktop\新建文件夹\小车整合3.0\src\Sources\H\Component_H\arithmetic0.h 16 rn
The request has an invalid header name
易信公众号点击菜单图片无法显示,但是通过url可打开图片,服务器Httperror日志中显示: HTTP/1.1 GET /res/20140404/1290.jpg 400 - Header -,n通过服务器回包可以看到,易信服务器在请求我的服务器是的错误是:![![图片说明](https://img-ask.csdn.net/upload/201503/10/1425965826_629068.png)图片说明](https://img-ask.csdn.net/upload/201503/10/1425965817_813569.png)n其中在ios客户端可现实图片,但是在安卓客户端无法显示图片。n求问各路大神这个该怎么解决呢?急!急!
Invalid Object Name 表名错误
SQLSEVER 2005的环境,我在某个表“Labels”添加了个字段(右键design table的方式),关闭并重新打开数据库再查询这个表(select * from dbo. Labels where......),就提示表名错误了。rn显示rnMsg 208 Invalid Object Name 'dbo.Labels’,的错误。怎么回事?我应该怎么做呢?
invalid directory (directory e:qingniao:g:\数据库\tsgl
query:=tquery.create(nil);rn query.databasename:=loginf.i_server.text;rn query.sql.add('select pass from tsuser where name=:name');rn query.parambyname('name').asstring:=loginf.i_user.text;rn query.open;rn username:=loginf.i_user.text;rnrnrn其中loginf.i_server.text是qingniao:g:\数据库\tsglrn登陆时却有如下提示rninvalid directory (directory e:qingniao:g:\数据库\tsglrn不知道qingniao:g:\数据库\tsgl前面为何多出个e:rn请各位大哥帮忙看一下
Windows Server 2008 Active Directory Resource Kit
微软出版社出版的讲AD的书。虽然现在Windows2019已经快出来了,但AD本身的变化并没有那么大,书中的许多内容到现在都是适用的。我这个压缩包里面包括书和随书的光盘。
windows 2008 Active directory Resource kit
微软官方活动目录,微软官方活动目录微软官方活动目录
could not execute:invalid directory(win32 error 267)?
是vc设置问题吗,如何解决,谢谢
请问 invalid resource file 如何解决呀?
请问诸位大下:当我打开Delphi6自代的BATMV Project,为何有rninvalid resource file :Can not open file :D:\Program Files\Borland\Delphi6\Help\Examples\BatchMv\BATMV.res
调试Filter时提示Invalid Directory
设置好DEBUG 按F5提示Invalid Directory(win32 error) 怎么回事?
急!!pdo_odbc连接db2报invalid data source name错误
$dbh = new PDO("DRIVER=IBM DB2 ODBC DRIVER;DATABASE=$db;"."HOSTNAME=$host;PORT=$port;PROTOCOL=TCPIP;UID=$user;PWD=$pass;", $user, $pass);rnrn报错:invalid data source namernrn请问数据源该怎么写啊?
求解决 ora-02778 name giver for the log directory is invaild
创建数据库时 报ora-02778 name giver for the log directory is invaild。rninit.ora里的路径也都有,可还是报错,求人在线解决.
求高手帮解决invalid column name 问题,
本人在学着做一个有上传,下载,增删改查的小项目,从页面输入信息到数据 库时,可以查看上传的文件和一些基本信息,可是点修改时,如果上传了文件,刚会提示,invalid column name :ID 如果在输入信息时不上传文件,点击修改不会报错。我的数据库的相关表涉及到的我也做了检查,有ID这个字段,希望高手能在线帮忙看下程序,我的QQ:348714380
急求!!关于active directory的问题
[code=C#]rn protected void GetUserGroup(string logonname)rn rn string[] ArrGroup;rn lstBox.Items.Clear(); rn tryrn rn DirectorySearcher search = new DirectorySearcher();rn SearchResult sr;rnrn search.Filter = "(&(!(userAccountControl:1.2.840.113556.1.4.803:=2))(objectCategory=user)(samaccountname=" + logonname + "))";rn search.PropertiesToLoad.Add("memberOf");rn sr = search.FindOne();rnrn ResultPropertyValueCollection r = sr.Properties["memberOf"];rnrn if (sr != null)rn rn foreach (string var in r)rn rn ArrGroup = var.ToString().Split(',');rn ArrGroup[0] = ArrGroup[0].Substring(3);rn this.lstBox.Items.Add(ArrGroup[0].ToString());rn rn rn rn catch (Exception ex)rn rn rn rn[/code]rn这段代码是找出但前计算机用户所属的active group,再我的机子上测试了没有任何问题(windowsXP),在用户计算机上(win 2000)运行失败,错误信息是“Unable to cast object of type 'System.Byte[]' to type 'System.String'. “ 跪求解决办法
急求hibernateError reading resource错误
都几天了,这个问题还没解决.rn烦躁的不是出现错误,而是出现很太奇怪的错误.rn下面是错误:rnjavax.servlet.ServletException: Error reading resource: com/lianxi/pojo/Dept.hbm.xmlrn org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)rn org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)rn org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)rn org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)rn org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:690)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rnrnrnroot cause rnrnorg.hibernate.MappingException: Error reading resource: com/lianxi/pojo/Dept.hbm.xmlrn org.hibernate.cfg.Configuration.addResource(Configuration.java:452)rn org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1263)rn org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1235)rn org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1217)rn org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1184)rn org.hibernate.cfg.Configuration.configure(Configuration.java:1112)rn org.hibernate.cfg.Configuration.configure(Configuration.java:1098)rn com.lianxi.factory.DefaultSessionFactory.getSession(DefaultSessionFactory.java:9)rn com.lianxi.imp.DeptDaoImp.(DeptDaoImp.java:21)rn com.lianxi.factory.DaoFactory.getDeptDaoInstance(DaoFactory.java:15)rn com.lianxi.struts.action.DeptAction.selectAll(DeptAction.java:63)rn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:585)rn org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)rn org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)rn org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)rn org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)rn org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)rn org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:690)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rnrnrnroot cause rnrnrn我在测试类中运行rn public List queryAll() throws Exception rn // TODO Auto-generated method stubrn List all=null;rn String hql="from Dept";rn Query q=session.createQuery(hql);rn all=q.list();rn this.session.close();rn return all;rn rn这个方法没点问题,能过行查询.rn但发布到TOMCAT中在JSP中调用这个方法就出错了.rnrn我测试过连SessioFactory都创建不了.rnrn请帮忙认真看一下.rnrnrnrnrnrn
急求Active Directory 架设教程~~~~~~~!!!
急求Active Directory 架设教程~~~~~~~!!!rn请将关于这方面的教程发到ahshaoji@163.comrn或在此处回复....或写下教程下载地址
求 an invalid argument was encountered 报错解决方案 急!!
小弟刚进入该论坛,分数不多,希望各位高手帮帮忙!rn在程序中出现了 an invalid argument was encountered 报错,请问下这个报错是系统的么?由于出现概率不高,所以根本没办法跟踪啊,解决这样的问题该怎么办!求高手指导。
Path must include project and resource name: /struts-default.xml
[img=https://img-bbs.csdn.net/upload/201509/20/1442755177_231027.jpg][/img]rn打开struts2-core-2.3.24.jar架包下的struts-default.xml文件eclipse就弹出这个窗口,求解啊!!!
Android:The resource name must start with a letter
C:\Users\YinC\Desktop\Projects\OpenSourceCode\GOpenSource_AppKit_Android_AS\GOpenSource_AppKit\app\src\main\res\values\ioestrings.xmlrnError:Error: The resource name must start with a letterrnC:\Users\YinC\Desktop\Projects\OpenSourceCode\GOpenSource_AppKit_Android_AS\GOpenSource_AppKit\app\src\main\res\values-en\ioestrings.xmlrnError:Error: The resource name must start with a letterrn:app:mergeDebugResources FAILEDrnError:Execution failed for task ':app:mergeDebugResources'.rn> C:\Users\YinC\Desktop\Projects\OpenSourceCode\GOpenSource_AppKit_Android_AS\GOpenSource_AppKit\app\src\main\res\values\ioestrings.xml: Error: The resource name must start with a letterrnC:\Users\YinC\Desktop\Projects\OpenSourceCode\GOpenSource_AppKit_Android_AS\GOpenSource_AppKit\app\src\main\res\values-en\ioestrings.xml: Error: The resource name must start with a letterrnInformation:BUILD FAILEDrnInformation:Total time: 5.318 secsrnInformation:3 errors
No resource found that matches the given name 'Theme.AppCompat.Light'
您好,下面的问题网上找了很多方法,都没能解决,就是网上下载的源码,直接导入到Eclipse里,然后运行的时候报错rnrn[2016-06-15 15:20:37 - appcodes.cn-jikeClock] C:\develop\android\clocks\clock\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.rn[2016-06-15 15:20:37 - appcodes.cn-jikeClock] rn[2016-06-15 15:20:37 - appcodes.cn-jikeClock] C:\develop\android\clocks\clock\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.rn[2016-06-15 15:20:37 - appcodes.cn-jikeClock]
从name中获取resource identifier
我在开发的一个程序,从数据库的每个logo中读取resource name,然后设置 drawables。rn但是当我想获取logo的整型字符串时,在Logcat中得到一个NumberFormatException。然后程序在启动时就强行关闭了。rn代码如下:rnrn String logo;rn logo = c.getString(2);rn button.setBackgroundResource(Integer.parseInt(logo));rn`logo` 保存在数据库中:`R.drawable.logo`rnrnrn如何处理这个问题呢?
Error creating bean with name 'adminLoginJCaptchaFilter': Injection of resource
ERROR org.springframework.web.context.ContextLoader - Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminLoginJCaptchaFilter': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'captchaService' defined in class path resource [applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.octo.captcha.service.image.DefaultManageableImageCaptchaService]: Constructor threw exception; nested exception is java.lang.SecurityException: class "org.apache.commons.collections.FastHashMap"'s signer information does not match signer information of other classes in the same packagern at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:300)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)rn at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:542)rn at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1462)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)rn at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)rn at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)rn at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1445)rn at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:677)rn at org.apache.catalina.manager.ManagerServlet.doPut(ManagerServlet.java:435)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)rn at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)rn at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)rn at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)rn at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at java.lang.Thread.run(Thread.java:619)rnCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'captchaService' defined in class path resource [applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.octo.captcha.service.image.DefaultManageableImageCaptchaService]: Constructor threw exception; nested exception is java.lang.SecurityException: class "org.apache.commons.collections.FastHashMap"'s signer information does not match signer information of other classes in the same packagern at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:965)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)rn at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:435)rn at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:409)rn at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:541)rn at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:147)rn at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)rn at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:297)rn ... 53 morernCaused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.octo.captcha.service.image.DefaultManageableImageCaptchaService]: Constructor threw exception; nested exception is java.lang.SecurityException: class "org.apache.commons.collections.FastHashMap"'s signer information does not match signer information of other classes in the same packagern at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141)rn at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:74)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:958)rn ... 66 morernCaused by: java.lang.SecurityException: class "org.apache.commons.collections.FastHashMap"'s signer information does not match signer information of other classes in the same packagern at java.lang.ClassLoader.checkCerts(ClassLoader.java:776)rn at java.lang.ClassLoader.preDefineClass(ClassLoader.java:488)rn at java.lang.ClassLoader.defineClass(ClassLoader.java:615)rn at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)rn at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2888)rn at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1172)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn at com.octo.captcha.service.captchastore.FastHashMapCaptchaStore.rn帮我看看是什么问题
安卓开发问题 no resource found that matches the given name
我是安卓开发的新手,前段时间构建了一个安卓开发环境,然后新建项目后就出现问题了,一直卡到现在,一直找不到解决办法,求大神解救!rn首先是“问题”视窗冒出一句话:no resource found that matches the given namern[img=https://img-bbs.csdn.net/upload/201501/28/1422454722_500237.png][/img]rn然后下面是AndroidManifest.xml的内容,里面显示了错误,但是我不知道如何改:rn[img=https://img-bbs.csdn.net/upload/201501/28/1422454794_664365.png][/img]rn这是包资源:rn[img=https://img-bbs.csdn.net/upload/201501/28/1422454850_446112.png][/img]rn这是整个视窗:rn[img=https://img-bbs.csdn.net/upload/201501/28/1422454884_616393.png][/img]rn求大神解答!!!rn
awrload中的directory name是区分大小写的
awrload中的directory name是区分大小写的
: No resource found that matches the given name 'android:Theme.Holo.Light'.
rnrn rn rnrnrn为什么会出现: No resource found that matches the given name 'android:Theme.Holo.Light'.rn求大神解决
A file or directory in the path name does not exist.
执行以下程序出错:rn# nohup SCstart.sh &rn[1] 311448rn# Sending nohup output to nohup.out.rnnohup: SCstart.sh: A file or directory in the path name does not exist.rnrn# nohup ./SCstart.sh &rn[1] 413940rn# Sending nohup output to nohup.out.rnnohup: ./SCstart.sh: A file or directory in the path name does not exist.rnrnrn很奇怪 这个文件的权限也已经改过了 然后执行sh SCstart.sh 却是可以执行的 请各位兄弟看看 谢过了
Files' name is invalid or does not exist (1205).
rn小弟在做实训,在做图片上传时遇到这个问题,解决不了,小弟已添加了“[color=#FF0000]enctype= "multipart/form-data "[/color]”,但是还是不行,望各位前辈帮帮小弟rnrn[color=#FF0000]ImagesAdd.jsp[/color]rn rn rn rn rn rn  图 片:rn rn rn rn rn rn rn rn rnrn[color=#FF0000]test.jsp[/color]rnrn<%rnrn //实例化上传组件rnrn SmartUpload upload = new SmartUpload();rnrn //初始化上传组件rnrn upload.initialize(this.getServletConfig(), request, response);rnrn //开始上传rnrn upload.upload();rnrn //获取上传的文件列表对象rnrn Files f = upload.getFiles();rnrn //获取文件对象rnrn File fil = f.getFile(0);rnrn //去的文件后缀rnrn String ext = fil.getFileExt();rn//来源:(http://blog.sina.com.cn/s/blog_59d6717c0100e62l.html) - SmartUpload上传图片_忘了时间的钟_新浪博客rnrn //判断文件类型是否是jpg格式rnrn if (!(ext.equals("jpg"))) rnrn out.println(" ");rnrn return;rnrn rnrn //满足条件进行文件的上传 需要注意的是upload使我们webRoot文件夹下的一个目录rnrn fil.saveAs("uploadImages/" + fil.getFileName());rnrn %> rnrn[color=#FF0000]这是错误提示:[/color]rnrnorg.apache.jasper.JasperException: An exception occurred processing JSP page /test.jsp at line 29rnrn26: rn27: //获取文件对象rn28: rn29: File fil = f.getFile(0);rn30: rn31: //去的文件后缀rn32: rnrnrnStacktrace:rn org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:515)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:426)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn com.OlineBookStores.Filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)rnrnroot causernrnjava.lang.IllegalArgumentException: Files' name is invalid or does not exist (1205).rn com.jspsmart.upload.Files.getFile(Files.java:73)rn org.apache.jsp.test_jsp._jspService(test_jsp.java:85)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn com.OlineBookStores.Filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)rn
entity framwork 报错“invalid object name”
项目的DAL层是用entity framwork做的,原来sql server数据库连接串是用的sql server身份验证方式。一切正常没有问题。现在要改成windows身份验证连接数据库。我把connectionstring改成windows验证方式的字符串了,其他地方没有动。然后就报了个错"invalid object name 'Customer'" 这里的Customer是Model里面的一个实体类,要映射到数据库的表。这些实体类都是用entity framwork自动生成的。rnrn这个错误怎么解决呢?都需要修改什么才能使windows身份验证方式成功呢?求高手指点啊rn
解析XML错误:Invalid encoding name "GBK".???
private Document getDoc(InputStream fileStream)throws Exceptionrn Document doc = null;rn try rn DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();rn DocumentBuilder db = dbf.newDocumentBuilder();rn doc = db.parse(fileStream);rnrn catch (ParserConfigurationException pce) rn System.err.println(pce);rn catch (DOMException dom) rn System.err.println(dom);rn System.out.print("XML结构错误!");rn catch (IOException ioe) rn System.err.println(ioe);rn System.out.print("无法找到XML文件!");rn rn return doc;rn rnrnrn[Fatal Error] :1:37: Invalid encoding name "GBK".rnorg.xml.sax.SAXParseException: Invalid encoding name "GBK".rn at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)rn at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)rn at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:76)rn at com.css.fjgs_slpt.check.getDoc(check.java:352)rn at com.css.fjgs_slpt.check.checkYS(check.java:291)rn at com.css.fjgs_slpt.SlptManager.checkTable(SlptManager.java:220)rn at com.css.fjgs_slpt.SlptManager.checkAndInsertToDB(SlptManager.java:182)rn at com.css.fjgs_slpt.SlptManager.main(SlptManager.java:379)rnorg.xml.sax.SAXParseException: Invalid encoding name "GBK".rnrn
相关热词 c# stream 复制 android c# c#监测窗口句柄 c# md5 引用 c# 判断tabtip 自己写个浏览器程序c# c# 字符串变成整数数组 c#语言编程写出一个方法 c# 转盘抽奖 c#选中treeview