MonoDevelop 在Raspbian下报异常,“Error MSB4019: The imported project " [问题点数:50分]

Bbs1
本版专家分:5
结帖率 70%
webserviceError reading XMLStreamReader异常
[code=java]rnString endpoint = "a?wsdl";rnrn Service service = new Service();rnrn Call call = (Call) service.createCall();rn call.setTargetEndpointAddress(endpoint);rn call.setOperationName("FechZWD");rnrn call.addParameter("CC", org.apache.axis.encoding.XMLType.XSD_DATE,rn javax.xml.rpc.ParameterMode.IN);rn call.addParameter("CZ", org.apache.axis.encoding.XMLType.XSD_DATE,rn javax.xml.rpc.ParameterMode.IN);rnrn SOAPHeaderElement soapHeaderElement = new SOAPHeaderElement(rn new javax.xml.namespace.QName(rn "as"),rn "SMSSoapHeader");rn soapHeaderElementrn .setNamespaceURI("a");rn soapHeaderElement.setObjectValue(null);rn soapHeaderElement.addChildElement("Username").setValue("Username");rn soapHeaderElement.addChildElement("Password").setValue("Password");rn call.addHeader(soapHeaderElement);rn call.setUsername("Username");rn call.setPassword("Password");rn rn rn call.setReturnType(org.apache.axis.encoding.XMLType.XSD_SCHEMA);rnrn rnrn Object[] params = new Object[2];rn params[0] = "a";rn params[1] = "b";rn Object res = call.invoke(params);rn Schema schema = (Schema) res;rnrn[/code]rn在 Object res = call.invoke(params); <em>报</em><em>Error</em> reading XMLStreamReader.
ASP.NET异常Server Error in '/' Application.
Server <em>Error</em> in '/' Application. rn--------------------------------------------------------------------------------rnrnRuntime <em>Error</em> rnDescription: An application error occurred on the server. <em>The</em> current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. rnrnDetails: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".rnrnrnrnrn rn rn rnrn rnrnNotes: <em>The</em> current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL.rnrnrnrnrn rn rn rnrn rn
imported警告
在RELEASE模式下,出现如下警告,但DEBUG好象没有,是怎么回事呢?rnLINK : warning LNK4049: locally defined symbol ""const ha_rendering_options::`vftable'" (??_7ha_rendering_options@@6B@)" <em>imported</em>rnLINK : warning LNK4049: locally defined symbol ""class ha_rendering_options & __cdecl HA_Get_Rendering_Options(void)" (?HA_Get_Rendering_Options@@YAAAVha_rendering_options@@XZ)" <em>imported</em>rnLINK : warning LNK4049: locally defined symbol ""class outcome __cdecl api_initialize_hoops_acis_bridge(void)" (?api_initialize_hoops_acis_bridge@@YA?AVoutcome@@XZ)" <em>imported</em>rnrndesigner.exe - 0 error(s), 36 warning(s)rn
Imported MSP-EXPG2_Rev.1.4.PrjPcb.zip
msp430G2 launch开发板的原理图PCB,DXP的版本。可直接打样
Netbean4.1 Run projectDeployment error: null. 如下, 咋整?
Netbean4.1 Run <em>project</em>时 Bundled Tomcat(5.5.7)<em>报</em>Deployment error: null. 详细如下:rnrninit:rndeps-module-jar:rndeps-ear-jar:rndeps-jar:rnlibrary-inclusion-in-archive:rnlibrary-inclusion-in-manifest:rncompile:rncompile-jsps:rndo-dist:rndist:rnrun-deploy:rnDistributing D:\Work\borrowsys\dist\borrowsys.war to [home=$bundled_home:base=$bundled_base]rnDeployment error: null. See the server log file for details.rnD:\Work\borrowsys\nb<em>project</em>\build-impl.xml:355: Deployment error: null. See the server log file for details.rnBUILD FAILED (total time: 0 seconds)rnrn跟deploy war有关吗? 怎么弄?rn
maven创建project异常
错误信息:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:RELEASE from any of the configured repositori     原因:本地库没有maven-archetype-quickstart-1.1.jar  或者maven-archetype-...
MonoDevelop中文乱码
问题描述: 升级win10之后,打开<em>MonoDevelop</em>,发现中文乱码了。如下图: 注意,在升级win10之前,是一切正常,并且使用的是较新版的<em>MonoDevelop</em>(是支持unicode的),如下图: 解决办法: 所以考虑,可能是升级系统后,导致字体环境产生了变化,所以尝试,在<em>MonoDevelop</em>里,以【更换字体】的方式解决: 步骤: 【Too
MonoDevelop汉化包
解压路径:Unity3D\<em>MonoDevelop</em>\bin
monodevelop最新版
最新版的monodevelop 可以直接下载 这个是2015年最新版的
MonoDevelop常用快捷键
<em>MonoDevelop</em>常用快捷键 CTRL+K  删除光标所在行的该行后面的代码 CTRL + ALT +C  注释/不注释该行 CTRL+ DOWN  像鼠标滚轮一样向下拖 CTRL + UP 像鼠标滚轮一样向上拖 CTRL + F  在当前文档中查找 F3/SHIFT+F3 CTRL + F后查看下一项/上一项 CTRL + SHIFT + F
MonoDevelop 3.0.6
<em>MonoDevelop</em> 是个适用于Linux、Mac OS和Microsoft Windows的开放源代码集成开发环境,主要用来开发Mono与.NET Framework软件。
MonoDevelop乱码问题
使用Unity自带的脚本编辑器<em>MonoDevelop</em>输入中文时常常显示乱码 搞的头都大.... 网上说什么改编码格式啦什么的试了好几种....没用 英文又不太好,设置选项一堆不知啥意思.. 弄了汉化插件汉化了一下 发现有个字体设置, 随便改了下字体, 发现,项目里的乱码变成中文了 难道是因为原来的字体不支持中文的缘故?
Project : error PRJ0003 : Error spawning 'cmd.exe'.
请问这个是怎么回事啊?rnvs 2005rn刚刚安装完毕 用向导生成 win32控制台程序 就出现这样的问题rn谢谢rnrn如果把Generate Manifest选项关掉 出现错误对话框“没有找到MSVCR80D”
Raspbian更新源
备份 sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak sudo cp /etc/apt/sources.list.d/raspi.list /etc/apt/sources.list.d/raspi.list.bak 树莓派官方认证源 http://www.raspbian.org/<em>Raspbian</em>Mirrors 编辑文件...
asp.neterror错误
项目本来是好好的,可今天下午不知道怎么回事儿,点树型菜单的时候就弹出error错误。配置文件里面都改过了。在本地测是没有问题的。另外,项目用到了webservice。
dwrerror求救!!
1.dwr.xml配置如下rn[code=XML] rn rn rn rn rn rn rn [/code]rn 2.applicationContext,xml配置如下struts1.2的rn[code=XML] rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn [/code]rn 3.页面代码如下rn [code=JScript] function donews()rn ajaxTblnews.findTblnews(callbackNews);rn rn function callbackNews(da)rn var str="";rn for ( var i = 0; i < da.length; i++) rn str+=da[i].title+" "+da[i].context;rn rn document.getElementById("news").innerHTML = str;rn [/code]rn通过调试以后错误是出在return super.getHibernateTemplate().find("from Tblnews");这一句上,页面<em>报</em>errorrn不知道是为什么,求大侠解决下。。rnrn
程序USER32.DLL Error
程序<em>报</em>USER32.DLL <em>Error</em>
Eclipse3.1SWT error
安装后启动eclipse, 新建工程(或其他)点击next后出现对话框提示出错"an SWT error has occurred", 并提示是否退出workbench.rnrn操作系统 windows xprneclipse版本 3.1 (目前未安装任何插件)rnjdk版本 1.4.2_08rnrn环境变量:rnclasspath为,;c:\j2dk1.4.2_08rnpath中加入了;c:\j2dk1.4.2_08\binrnrnlog内容如下:rn!SESSION 2005-07-09 13:05:58.710 -----------------------------------------------rneclipse.buildId=I20050627-1435rnjava.version=1.4.2_08rnjava.vendor=Sun Microsystems Inc.rnBootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CNrnCommand-line arguments: -os win32 -ws win32 -arch x86rnrn!ENTRY org.eclipse.ui 4 4 2005-07-09 13:13:36.748rn!MESSAGE Unhandled event loop exceptionrnrn!ENTRY org.eclipse.ui 4 0 2005-07-09 13:13:36.789rn!MESSAGE No more handlesrn!STACK 0rnorg.eclipse.swt.SWT<em>Error</em>: No more handlesrnat org.eclipse.swt.SWT.error(SWT.java:2968)rnat org.eclipse.swt.SWT.error(SWT.java:2865)rnat org.eclipse.swt.SWT.error(SWT.java:2836)rnat org.eclipse.swt.widgets.Widget.error(Widget.java:395)rnat org.eclipse.swt.widgets.Control.createHandle(Control.java:482)rnat org.eclipse.swt.widgets.Link.createHandle(Link.java:174)rnat org.eclipse.swt.widgets.Control.createWidget(Control.java:497)rnat org.eclipse.swt.widgets.Link.createWidget(Link.java:188)rnat org.eclipse.swt.widgets.Control.(Control.java:97)rnat org.eclipse.swt.widgets.Link.(Link.java:87)rnat org.eclipse.ui.dialogs.PreferenceLinkArea.(PreferenceLinkArea.java:60)rnat org.eclipse.compare.internal.ComparePreferencePage.createTextComparePage(ComparePreferencePage.java:300)rnat org.eclipse.compare.internal.ComparePreferencePage.createContents(ComparePreferencePage.java:216)rnat org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:232)rnat org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1371)rnat org.eclipse.jface.preference.PreferenceDialog$12.run(PreferenceDialog.java:1138)rnat org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)rnat org.eclipse.core.runtime.Platform.run(Platform.java:783)rnat org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)rnat org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)rnat org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1132)rnat org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:351)rnat org.eclipse.jface.preference.PreferenceDialog$8.selectionChanged(PreferenceDialog.java:638)rnat org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:763)rnat org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)rnat org.eclipse.core.runtime.Platform.run(Platform.java:783)rnat org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)rnat org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)rnat org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:761)rnat org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1042)rnat org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1062)rnat org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:231)rnat org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:226)rnat org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:392)rnat org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)rnat org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)rnat org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3057)rnat org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2716)rnat org.eclipse.jface.window.Window.runEventLoop(Window.java:809)rnat org.eclipse.jface.window.Window.open(Window.java:787)rnat org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:66)rnat org.eclipse.jface.action.Action.runWithEvent(Action.java:996)rnat org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)rnat org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)rnat org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)rnat org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)rnat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)rnat org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)rnat org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)rnat org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)rnat org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)rnat org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)rnat org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)rnat org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)rnat org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)rnat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)rnat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)rnat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rnat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rnat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rnat java.lang.reflect.Method.invoke(Unknown Source)rnat org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)rnat org.eclipse.core.launcher.Main.basicRun(Main.java:278)rnat org.eclipse.core.launcher.Main.run(Main.java:973)rnat org.eclipse.core.launcher.Main.main(Main.java:948)rnrn
dwrerror错误
如下是浏览器<em>报</em>错信息rn[color=#FF0000]非标准的属性 document.all。请使用 W3C 的标准形式 document.getElementById() 。if (document.all && !window.opera) [/color] rnrnjs里面涉及到dwr的代码如下rn[code=javascript]var permission;rnDWREngine.setAsync(false);rnPermission.getPermission(load);rnDWREngine.setAsync(true);rnfunction load(data) rn permission = data; rnrnalert(permission);//这里弹出框居然是undefined,什么情况了?[/code]
Dwr3+Spring2.5消息推送Error
使用http://127.0.0.1:8080/huyiqu/dwr对生成的messagePush.js进行测试时,Dwr能正确生成messagePush.js,但不能访问里面的public void sendMessageAuto(String recvCustomerId,String message)方法,访问就弹出框<em>Error</em>!但我不用spring配置Dwr却可以消息推送。代码如下: rn rn rn rn rn rn rn rn rnspring配置: rn rn rnweb.xml配置: rn rn rndwr-invoker rnorg.directwebremoting.servlet.DwrServlet rn rn config rn rn /WEB-INF/dwr.xml rn rn rncrossDomainSessionSecurity rnfalse rn rn rnallowScriptTagRemoting rntrue rn rn rnclasses rnjava.lang.Object rn rn rnactiveReverseAjaxEnabled rntrue rn rn rninitApplicationScopeCreatorsAtStartup rntrue rn rn rnmaxWaitAfterWrite rn1000 rn rn rndebug rntrue rn rn rnlogLevel rnWARN rn rn rn rndwr-invoker rn/dwr/* rn rn rn麻烦各位大手能帮忙看下,这是什么问题,我找半天了。。谢谢 rn
执行存储过程,Error Creating Cursor Handle异常
我的前台程序使用BDE访问SQL SERVER 7。0rn使用TStoredProc执行存储过程,该存储过程执行两条语句:insert... select...rn发现,后台的纪录在增加到一定数目后,就再也不增加了,前台程序仅记录下了如题所示的<em>异常</em>,我不知道,这个是否跟BDE的限制有关?还是后台的限制有关?
Mybatis select 一直### The error occurred while setting parameters异常
项目需要,自己搭建了sprinMVC+Mybatis的开发框架;在Mybatis 的使用过程中,insert、update、delete都可以正常执行;但是问题就出在select,只要select,总<em>报</em>### <em>The</em> error occurred while setting parameters的<em>异常</em>。现象如下:rn一、UserDAO.javarn[code=java]rnpackage com.gci.common.dao;rnimport com.gci.common.model.User;rnpublic interface UserDAO rn public User findUser(int id);rn public void insertUser(User user);rnrn[/code]rnrn二、UserDAO.xmlrn[code=text]rn rn rn rn rn rn rn insert into t_user(id,name,age) values(#id,#name,#age) rn rn rn rn rn select * from t_user where id=#id rn rn rn[/code]rnrn3、User.javarn[code=java]rnpackage com.gci.common.model;rnpublic class User rn private int id;rn private String name;rn private int age;rn rn public int getId() rn return id;rn rnrn public void setId(int id) rn this.id = id;rn rnrn public String getName() rn return name;rn rnrn public void setName(String name) rn this.name = name;rn rnrn public int getAge() rn return age;rn rnrn public void setAge(int age) rn this.age = age;rn rn public User(int id,String name,int age) rn super(); rn this.id = id; rn this.name = name;rn this.age = age;rn rn //必须要有这个无参构造方法,不然根据UserMapper.xml中的配置,在查询数据库时,将不能反射构造出User实例rn public User() rn super(); rn rn rnrn[/code]rnrn四、执行userDAOrn[code=java]rnuser = userDAO.findUser(2);rn[/code]rnrn五、<em>报</em><em>异常</em>rn[code=java]rn<em>异常</em>信息rnclass org.springframework.web.util.NestedServletException : Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: rn### <em>Error</em> querying database. Cause: java.lang.NullPointerExceptionrn### <em>The</em> error may exist in com/gci/common/dao/UserDAO.xmlrn### <em>The</em> error may involve com.gci.common.dao.UserDAO.findUser-Inlinern### <em>The</em> error occurred while setting parametersrn### SQL: select * from t_user where id=?rn### Cause: java.lang.NullPointerExceptionrn[/code]
Error:Project Target Framework Not installed
NULL 博文链接:https://suky.iteye.com/blog/1014271
在Resin运行SSHError creating bean with name 'entityManagerFactory'异常
在Tomcat下运行正常,但移值到resin3.0.27就<em>报</em>错.rn <em>Error</em> creating bean with name 'entityManagerFactory'defined in ServletContext resource [/WEB-INF/applicationContext.xml]rn 对resin一点都熟悉,请各位指点.谢谢.n[b]问题补充:[/b]npersistence.xmlrn[code="xml"]rnrn rn org.hibernate.ejb.HibernatePersistencern rn rn rn rn rn rn rn rn rn rn rn rn rn[/code]rnrnspring.xmlrn[code="xml"]rn rn rn rn rn rn rn [/code]rnrnn[b]问题补充:[/b]n walsh: 还是不行rn 包问题? 可是在tomcat能正常运行啊.n[b]问题补充:[/b]n 移值到resin运行就<em>报</em>java.lang.NoSuchMethod<em>Error</em>: javax.persistence.PersistenceContext.properties()[Ljavax/persistence/PersistenceProperty;rn 然后我把annotations-api.jar加入prepend to classpath;才出现以上的错误.n[b]问题补充:[/b]nrn [color=blue]谢谢大家给出的解决方法,可是都不是准确答案.不过还是谢谢你们的回答.rn 问题我已经自己解决,方法:如果是在IDE运行需要设置prepend to classpath:加入ejb3-persistence.jar.rn 如果直接放在容器下运行需要把resin lib下的ejb-30.jar替换成ejb3-persistence.jar.[/color]
source insight :there was an error opening project
每次用source insight 新建一个工程同步后,当天使用没有任何问题,第二天打开的时候就<em>报</em>错:there was an error opening <em>project</em>,那位好心人知道在怎么解决的,谢谢
win32diskimage&SDformatter;$raspbian
win32diskimage&SDformatter;$raspbian,用于小白重装树莓派系统,没有积分
c++ c# imported
c++定义:rnrntypedef struct _GLYMODErn unsigned int dwLockStatus; rn unsigned int dwModeStatus; rnGLYMODE, *LPGLYMODE;rnrnint GLY_DeGetMode(GLYHANDLE h, LPGLYMODE* lppDEModeData);rnrnc# 转换:rn[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]rnpublic struct GlyModernrn public uint dwLockStatus;rn public uint dwModeStatus;rnrnrn[DllImport(@"libglyde.dll", EntryPoint = "GLY_DeGetMode", CallingConvention = CallingConvention.Cdecl)]rnpublic static extern int GLY_DeGetMode(int handle, [color=#FF6600]IntPtr glyDeModeData[/color]);rnrn我的问题是: 在方法import的时,方法参数我转换的对吗?还是写成:public static extern int GLY_DeGetMode(int handle, ref GlyMode glyDeModeData);rnrn请高手帮忙,谢谢
Using Imported Graphics in LaTeX2e
This article by Keith Reckdahl shows you how to do (almost) anything with graphics: side-by-side, rotated, etc.
java--hibernate分页异常
org.hibernate.exception.GenericJDBCException: 只进结果集不支持请求的操作。rnat org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:54)rnat org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)rnat org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)rnat org.hibernate.engine.jdbc.internal.proxy.AbstractResultSetProxyHandler.continueInvocation(AbstractResultSetProxyHandler.java:108)rnat org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)rnat $Proxy6.absolute(Unknown Source)rnat org.hibernate.loader.Loader.advance(Loader.java:1640)rnat org.hibernate.loader.Loader.getResultSet(Loader.java:1966)rnat org.hibernate.loader.Loader.doQuery(Loader.java:829)rnat org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:289)rnat org.hibernate.loader.Loader.doList(Loader.java:2447)rnat org.hibernate.loader.Loader.doList(Loader.java:2433)rnat org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2263)rnat org.hibernate.loader.Loader.list(Loader.java:2258)rnat org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:470)rnat org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:355)rnat org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:196)rnat org.hibernate.internal.SessionImpl.list(SessionImpl.java:1161)rnat org.hibernate.internal.QueryImpl.list(QueryImpl.java:101)rnat com.qingmou.dao.impl.DaoSupeortImpl.paqingBypages(DaoSupeortImpl.java:246)rnat com.qingmou.test.Test.main(Test.java:38)rnCaused by: com.microsoft.sqlserver.jdbc.SQLServerException: 只进结果集不支持请求的操作。rnat com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriver<em>Error</em>(Unknown Source)rnat com.microsoft.sqlserver.jdbc.SQLServerResultSet.throwNotScrollable(Unknown Source)rnat com.microsoft.sqlserver.jdbc.SQLServerResultSet.verifyResultSetIsScrollable(Unknown Source)rnat com.microsoft.sqlserver.jdbc.SQLServerResultSet.absolute(Unknown Source)rnat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rnat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rnat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rnat java.lang.reflect.Method.invoke(Unknown Source)rnat org.hibernate.engine.jdbc.internal.proxy.AbstractResultSetProxyHandler.continueInvocation(AbstractResultSetProxyHandler.java:104)rn... 17 morern说明:rnrnString hql="from TSysGpsData";rnrnList ulist=dao.paqingBypages(hql, null, 2, 10);rnrn传1(hql, null, 1, 10);可以得到结果.2就不行,hibernate 4.1.1
C# IndexOf 异常
不多说 直接上代码 rn if (!string.IsNullOrEmpty(m_str))rn rn if (GlobleDate.m_databuffUser.TagList.IndexOf(m_str) == -1) rn rn GlobleDate.m_databuffUser.TagList.Add(m_str); rn rn rn m_str = "";rn GlobleDate.userWaitor.Set(); //data资源 告诉界面可以进行更新 rnrnrnrn
开机异常
十块板子,中间有一块很奇怪:rn开机的时候有时候会<em>报</em>这样一个错误:rnException 'Data Abort' (4): Thread-Id=07b7000e(pth=9b5b9594), Proc-Id=00400002(pprc=88111308) 'NK.EXE', VM-active=065e0002(pprc=9b5cd948) 'explorer.exe'rnPC=80157fd0(kernel.dll+0x00030fd0) RA=801421e0(kernel.dll+0x0001b1e0) SP=d713f468, BVA=00000098rnrn也有的时候是“device.exe”rnrn这样软件会经常运行起来不正常 rn我DEBUG调试的方式跑软件,他又正常rnrnNK都一样的,其它板子都没有这个问题rnrn不知道大家有没有碰到过这种类型的,或提供一个查找的思路也行rnrn个人曾怀疑是不是DDR跟CPU之间有什么有影响或是CPU片子的问题
[异常]406
1、查看是否Jackson包是否存在。2、如果后缀是html是不能响应json数据的。需要修改后缀名,改成.do或者.action。
SQL连接异常
package fixedassets;rnrnimport java.sql.*;rnimport javax.swing.tree.DefaultMutableTreeNode;rnrnrnpublic class JDBC rn Statement st=null;rn ResultSet rs2=null;rn ResultSet rs=null;rn public JDBC() rn try rn Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");rn Connection con = DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433;databaseName=AssetsManage","sa","sa");rn st = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABLE);rn catch (Exception ex) rn ex.printStackTrace();rn rn rn public ResultSet yan(String s,String s1) //验证用户名和密码rn ResultSet rsa=null;rn try rn rsa = st.executeQuery("select *from operater where ID='"+s+"'and PassWord='"+s1+"'");rn catch (SQLException ex) rn ex.printStackTrace();rn rn return rsa;rn rn public int chaxun(String s,int i) //查询数据rn try rn if(i==0) //以资产编号查询rn clear();rn rs = st.executeQuery("select *from asset where aId="+s);rn else if(i==1) //以资产名称查询rn clear();rn rs = st.executeQuery("select *from asset where aName='"+s+"'");rn rn if(rs.next()) rn zhi();rn rnrn catch (SQLException ex) rn ex.printStackTrace();rn rn return 0;rn rnrn/*错误就在zhi()这个方法里,上面的chaxun()方法调用本方法来把查询出来的信息显示在文本框内,第一次调用时信息都可以提出来没问题,但是我想做一个导航条,可以通过按钮点击来查看数据,所以我在另外一个类里做了一个按钮事件,当点击时就zhi()这个方法,就在这里就<em>报</em><em>异常</em>了,<em>异常</em>如下:rnjava.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Object has been closed.rn at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)rn at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)rn at com.microsoft.jdbc.base.BaseResultSet.validateClosedState(Unknown Source)rn at com.microsoft.jdbc.base.BaseResultSet.getString(Unknown Source)rn at fixedassets.JDBC.zhi(JDBC.java:68)rn at fixedassets.Frame3.jButton4_actionPerformed(Frame3.java:405)rn at fixedassets.Frame3_jButton4_actionAdapter.actionPerformed(Frame3.java:431)rn at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)rn at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)rn at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)rn at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)rn at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)rn at java.awt.Component.processMouseEvent(Component.java:5100)rn at java.awt.Component.processEvent(Component.java:4897)rn at java.awt.Container.processEvent(Container.java:1569)rn at java.awt.Component.dispatchEventImpl(Component.java:3615)rn at java.awt.Container.dispatchEventImpl(Container.java:1627)rn at java.awt.Component.dispatchEvent(Component.java:3477)rn at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)rn at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)rn at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)rn at java.awt.Container.dispatchEventImpl(Container.java:1613)rn at java.awt.Window.dispatchEventImpl(Window.java:1606)rn at java.awt.Component.dispatchEvent(Component.java:3477)rn at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)rn at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)rn at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)rn at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)rn at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)rn at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)rnrn我在网上查了一下,好像是说连接池被已关闭,但是我所有的连接一个也没关啊,不知道是怎么回事,急~!请各位高手帮忙看一下*/rnrn public void zhi() rn try rn String s3 = rs.getString(1);rn String s10 = rs.getString(2);rn String s11 = rs.getString(3);rn String s5 = rs.getString(4);rn String s6 = rs.getString(8);rn String s7 = rs.getString(9);rn String s8 = rs.getString(7);rn String s12 = rs.getString(5);rn String s13 = rs.getString(6);rn String s14 = rs.getString(10);rn Frame3.jTextField3.setText(s3);rn Frame3.jTextField5.setText(s5);rn Frame3.jTextField6.setText(s6);rn Frame3.jTextField10.setText(s10);rn Frame3.jTextField11.setText(s11);rn Frame3.jTextField12.setText(s12);rn if (s13.equals("0")) rn Frame3.jTextField13.setText("正常");rn else if (s13.equals("1")) rn Frame3.jTextField13.setText("维修");rn else if (s13.equals("2")) rn Frame3.jTextField13.setText("<em>报</em>废");rn rn Frame3.jTextField14.setText(s14);rnrn if (Frame3.i == 1) //通过游标判断是否可以上下翻页rn if (rs.next()) rn Frame3.jButton4.setEnabled(true);rn else rn Frame3.jButton4.setEnabled(false);rn rn else rn if (rs.previous()) rn Frame3.jButton3.setEnabled(true);rn else rn Frame3.jButton3.setEnabled(false);rn rn rnrn ResultSet rls = st.executeQuery(rn "select eName from employee where eId=" +rn s7);rn rls.next();rn Frame3.jTextField7.setText(rls.getString(1));rn ResultSet rs1 = st.executeQuery(rn "select type from cateGory where cateId='" + s11 + "'");rn rs1.next();rn String s4 = rs1.getString(1);rn if (s4.equals("0")) rn Frame3.jTextField4.setText("");rn else rn Frame3.jTextField4.setText(s4);rn rnrn if (!(s8 == null)) rn ResultSet rls1 = st.executeQuery(rn "select eName from employee where eId=" + s8);rn rls1.next();rn Frame3.jTextField8.setText(rls1.getString(1));rn rs2 = st.executeQuery("select *from lend where aId=" +rn s3);rn rs2.last();rn String s9 = rs2.getString(4);rn String s15 = rs2.getString(3);rn String s16 = rs2.getString(5);rn Frame3.jTextField9.setText(s9);rn Frame3.jTextField15.setText(s15);rn if (s16.equals("0")) rn Frame3.jTextField16.setText("否");rn else if (s16.equals("1")) rn Frame3.jTextField16.setText("是");rn rn rnrn catch (Exception a) rn System.out.println("asdfwdfasdf");rn a.printStackTrace();rn rn rnrnrnrnrn public void clear() //清空rn Frame3.jTextField3.setText("");rn Frame3.jTextField4.setText("");rn Frame3.jTextField5.setText("");rn Frame3.jTextField6.setText("");rn Frame3.jTextField7.setText("");rn Frame3.jTextField8.setText("");rn Frame3.jTextField9.setText("");rn Frame3.jTextField10.setText("");rn Frame3.jTextField11.setText("");rn Frame3.jTextField12.setText("");rn Frame3.jTextField13.setText("");rn Frame3.jTextField14.setText("");rn Frame3.jTextField15.setText("");rn Frame3.jTextField16.setText("");rn rnrnrn
Graphics异常内存不足
原因:很有可能是因为图片大小导致的,需要通过PS修改一下图片大小 string imageName = sourceImageTb.Substring(sourceImageTb.LastIndexOf('/')); string imageSourcePath = Path.Combine(Config_MCDWX.Instance.Exam_Certifi
tomcat5.5一直异常
tomcat5.5 一直<em>报</em>java.sql.SQLException: ORA-28000: the account is lockedrn但还是可以用的
crontab执行异常
<em>异常</em>信息:nohup: failed to run command `java': No such file or directory /data/om-analytics/business/hive_hbase/workwf.sh: line 4: 4: command not found 这就是由于环境变量引起的,这种情况出现时,只需要在你的脚本中,比如XX.sh中加入以下两条语句
日期格式化异常
今天做自定义标签的时候,写了几个日期格式化的方法,结果在测试将日期格式化为时分秒的时候<em>报</em>了java.text.ParseException: Unparseable date: &quot;13:14:14&quot;<em>异常</em>,由于对这块不熟悉不知道输入的字符串必须与new SimpleDateFormat(&quot;yyyy-MM-dd HH:mm:ss&quot;)保持一致/** * * 格式化日期的自定义标签 * 方法...
mybatis 空值异常
mybatis <em>报</em>空值<em>异常</em>及其解决办法
mybatis 异常
### Cause: java.sql.SQLException: 出现不支持的 SQL92 标记: 288: 0 <em>异常</em>原因:传递参数本来是 #{0},#{1},由于赶时间漏:东西了 写成 {0} 、{1} 解决方法: {0} 、{1} 修改为#{0} #{1} ...
yml文件异常
Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token found character '@' that cannot start any token. (Do not use @ for indentation)  in 'reader', line 14, column ...
Hive错,显示已经有一个Derby数据库启动了(spark同)
在系统安装完hive,还未将mysql指定为元数据仓库的时候。运行hive的过程中,易产生一种不稳定的状态。情形一:已经有一个hive连接在访问Derby创建的metastore_db文件夹,由于Derby数据库自身的缺点--仅支持一个链接对其进行访问,所以这时,如果再有一个终端调用hive,就有第二个链接访问Derby数据库了,就会抛出这个<em>异常</em>。解决方法很简单。用mysql作为元数据仓库,mys...
hibernate3+ejb3SessionBean 异常
程序如下:rnpublic class HibernateBase rn private static SessionFactory sf = null;rn public Session session = null;rn public void Begin()rn //在这里可以根据配置文件来使用,如果是使用JDBC-》openSession(),如果使用JTA使用getCurrentSession();rn if(sf==null) Init();rn session = sf.openSession();rn rn public void Init()rn tryrn InitialContext ctx = new InitialContext();rn Object obj = ctx.lookup("hibernateJNDI");rn System.out.println("hibernateJNDI==============="+obj);rn if(sf==null) sf = (SessionFactory)obj;rn catch(Exception e)rn e.printStackTrace();rn rn rn public void Close()rn if(session!=null&&session.isOpen()) session.close();rn rnrnpublic class ArticleEJB extends HibernateBase implements InfoArticleUtil, ArticleEJBLocal,rn ArticleEJBRemote rnrn public List getAllArticle() rn List list = null;rn tryrn Begin();rn list = session.createQuery("from InfoArticle").list();rn if(list==null) list = new ArrayList();rn session.flush();rn catch(Exception e)rn e.printStackTrace();rn finallyrn Close();rn rn return null;rn rnrnrnpublic class HibernateUtil rn public static SessionFactory sf = null;rn public void Init()rn if(sf == null)rn sf = new Configuration().configure().buildSessionFactory();rn rn rnrnpublic class StartUpListener implements ServletContextListenerrnrn public void contextDestroyed(ServletContextEvent arg0) rnrn rn public void contextInitialized(ServletContextEvent arg0) rn try rn InitialContext ctx = new InitialContext();rn HibernateUtil h = new HibernateUtil();rn h.Init();rn SessionFactory newsf = h.sf;rn SessionFactory oldsf = (SessionFactory)ctx.lookup("hibernateJNDI");rn System.out.println("bind hibernateJNDI~~~~~~~~~~~~~~~~~~~~~~~`");rn if(oldsf!=null) ctx.rebind("hibernateJNDI", newsf);rn else ctx.bind("hibernateJNDI", newsf);rn rn catch (NamingException e) rn e.printStackTrace();rn rn rnrnrn rn rn sysListener.StartUpListenerrn rn
tomcat配置连接池异常
context里的配置rn[code=XML]rnrn[/code]rnrnweb.xmlrn[code=XML]rn rnDB Connectionrnjdbc/mysqlrnjavax.sql.DataSourcernContainerrn[/code]rnrnjsp rnrn[code=Java]rnrn rn rn rn rn rn rn rn rn rn[/code]rnrn为什么<em>报</em>这样的<em>异常</em>,什么意思?rn[color=#FF0000]javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initialrn at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)rn at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)rn at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325)rn at javax.naming.InitialContext.lookup(InitialContext.java:392)rn at Test.main(Test.java:12)[/color]
winform 异常
有关调用实时(JIT)调试而不是此对话框的详细信息,rn请参见此消息的结尾。rnrn************** <em>异常</em>文本 **************rnSystem.ArgumentException: 参数无效。rn 在 System.Drawing.Image.get_RawFormat()rn 在 System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)rn 在 System.Drawing.Graphics.DrawImage(Image image, Rectangle rect)rn 在 System.Windows.Forms.PictureBox.OnPaint(PaintEventArgs pe)rn 在 System.Windows.Forms.Control.PaintWith<em>Error</em>Handling(PaintEventArgs e, Int16 layer)rn 在 System.Windows.Forms.Control.WmPaint(Message& m)rn 在 System.Windows.Forms.Control.WndProc(Message& m)rn 在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)rn 在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)rn 在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)rnrnrn************** 已加载的程序集 **************rnmscorlibrn 程序集版本: 4.0.0.0rn Win32 版本: 4.0.30319.1 (RTMRel.030319-0100)rn 基本代码: file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/mscorlib.dllrn----------------------------------------rnDaikyoListrn 程序集版本: 1.0.0.0rn Win32 版本: 1.0.0.0rn 基本代码: file:///E:/DaikyoList/DaikyoList/DaikyoList/DaikyoList/bin/Debug/DaikyoList.exern----------------------------------------rnSystem.Windows.Formsrn 程序集版本: 4.0.0.0rn Win32 版本: 4.0.30319.1 built by: RTMRelrn 基本代码: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dllrn----------------------------------------rnSystem.Drawingrn 程序集版本: 4.0.0.0rn Win32 版本: 4.0.30319.1 built by: RTMRelrn 基本代码: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dllrn----------------------------------------rnSystemrn 程序集版本: 4.0.0.0rn Win32 版本: 4.0.30319.1 built by: RTMRelrn 基本代码: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dllrn----------------------------------------rnSystem.Configurationrn 程序集版本: 4.0.0.0rn Win32 版本: 4.0.30319.1 (RTMRel.030319-0100)rn 基本代码: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dllrn----------------------------------------rnSystem.Xmlrn 程序集版本: 4.0.0.0rn Win32 版本: 4.0.30319.1 built by: RTMRelrn 基本代码: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dllrn----------------------------------------rnDaikyoBLLrn 程序集版本: 1.0.0.0rn Win32 版本: 1.0.0.0rn 基本代码: file:///E:/DaikyoList/DaikyoList/DaikyoList/DaikyoList/bin/Debug/DaikyoBLL.DLLrn----------------------------------------rnDaikyoDALrn 程序集版本: 1.0.0.0rn Win32 版本: 1.0.0.0rn 基本代码: file:///E:/DaikyoList/DaikyoList/DaikyoList/DaikyoList/bin/Debug/DaikyoDAL.DLLrn----------------------------------------rnSystem.Datarn 程序集版本: 4.0.0.0rn Win32 版本: 4.0.30319.1 (RTMRel.030319-0100)rn 基本代码: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dllrn----------------------------------------rnSystem.Corern 程序集版本: 4.0.0.0rn Win32 版本: 4.0.30319.1 built by: RTMRelrn 基本代码: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dllrn----------------------------------------rnSystem.Transactionsrn 程序集版本: 4.0.0.0rn Win32 版本: 4.0.30319.1 (RTMRel.030319-0100)rn 基本代码: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dllrn----------------------------------------rnSystem.EnterpriseServicesrn 程序集版本: 4.0.0.0rn Win32 版本: 4.0.30319.1 (RTMRel.030319-0100)rn 基本代码: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dllrn----------------------------------------rnSystem.Numericsrn 程序集版本: 4.0.0.0rn Win32 版本: 4.0.30319.1 built by: RTMRelrn 基本代码: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dllrn----------------------------------------rnmscorlib.resourcesrn 程序集版本: 4.0.0.0rn Win32 版本: 4.0.30319.1 (RTMRel.030319-0100)rn 基本代码: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/mscorlib.resources.dllrn----------------------------------------rnSystem.Drawing.resourcesrn 程序集版本: 4.0.0.0rn Win32 版本: 4.0.30319.1 built by: RTMRelrn 基本代码: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing.resources/v4.0_4.0.0.0_zh-Hans_b03f5f7f11d50a3a/System.Drawing.resources.dllrn----------------------------------------rnSystem.Windows.Forms.resourcesrn 程序集版本: 4.0.0.0rn Win32 版本: 4.0.30319.1 built by: RTMRelrn 基本代码: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.Windows.Forms.resources.dllrn----------------------------------------rnrn************** JIT 调试 **************rn要启用实时(JIT)调试,rn该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置rnjitDebugging 值。rn编译应用程序时还必须启用rn调试。rnrn例如: rnrnrn rnrnrn启用 JIT 调试后,任何未经处理的<em>异常</em>rn都将被发送到在此计算机上注册的 JIT 调试器,rn而不是由此对话框处理。rnrnrn请问这是什么错误
hadoop-streaming异常
执行hadoop-streaming操作:rnhadoop jar hadoop-streaming-2.7.2.jar -file ./mapper.py -file ./reducer.py -input /input/loginservice1.txt -output /output -mapper mapper.py -reducer reducer.pyrnrn<em>报</em><em>异常</em>:rnjava.net.URISyntaxException: Relative path in absolute URI: $PWD:$HADOOP_CONF_DIR:$HADOOP_COMMON_HOME/share/hadoop/common/*:$HADOOP_COMMON_HOME/share/hadoop/common/lib/*:$HADOOP_HDFS_HOME/share/hadoop/hdfs/*:$HADOOP_HDFS_HOME/share/hadoop/hdfs/lib/*:$HADOOP_YARN_HOME/share/hadoop/yarn/*:$HADOOP_YARN_HOME/share/hadoop/yarn/lib/*:$HADOOP_MAPRED_HOME/share/hadoop/mapreduce/*:$HADOOP_MAPRED_HOME/share/hadoop/mapreduce/lib/*:[color=#FF6600]job.jar/job.jar:job.jar/classes/:job.jar/lib/*[/color]:$PWD/*rnFailing this attempt. Failing the application.rnrn如何解决?
java--hibernate分页异常,
org.hibernate.exception.GenericJDBCException: 只进结果集不支持请求的操作。rn at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:54)rn at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)rn at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)rn at org.hibernate.engine.jdbc.internal.proxy.AbstractResultSetProxyHandler.continueInvocation(AbstractResultSetProxyHandler.java:108)rn at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)rn at $Proxy6.absolute(Unknown Source)rn at org.hibernate.loader.Loader.advance(Loader.java:1640)rn at org.hibernate.loader.Loader.getResultSet(Loader.java:1966)rn at org.hibernate.loader.Loader.doQuery(Loader.java:829)rn at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:289)rn at org.hibernate.loader.Loader.doList(Loader.java:2447)rn at org.hibernate.loader.Loader.doList(Loader.java:2433)rn at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2263)rn at org.hibernate.loader.Loader.list(Loader.java:2258)rn at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:470)rn at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:355)rn at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:196)rn at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1161)rn at org.hibernate.internal.QueryImpl.list(QueryImpl.java:101)rn at com.qingmou.dao.impl.DaoSupeortImpl.paqingBypages(DaoSupeortImpl.java:246)rn at com.qingmou.test.Test.main(Test.java:38)rnCaused by: com.microsoft.sqlserver.jdbc.SQLServerException: 只进结果集不支持请求的操作。rn at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriver<em>Error</em>(Unknown Source)rn at com.microsoft.sqlserver.jdbc.SQLServerResultSet.throwNotScrollable(Unknown Source)rn at com.microsoft.sqlserver.jdbc.SQLServerResultSet.verifyResultSetIsScrollable(Unknown Source)rn at com.microsoft.sqlserver.jdbc.SQLServerResultSet.absolute(Unknown Source)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.hibernate.engine.jdbc.internal.proxy.AbstractResultSetProxyHandler.continueInvocation(AbstractResultSetProxyHandler.java:104)rn ... 17 morern说明:rnrnString hql="from TSysGpsData";rn rnList ulist=dao.paqingBypages(hql, null, 2, 10);rnrn传1(hql, null, 1, 10);可以得到结果.2就不行,hibernate 4.1.1rnrnrnrn
异常求解释!
[code=java]public class CeShirn public static void main(String[] args)rn String a = "java";rn int count = 0;rn int index = -1;rn String str = "sunjavahpjavaokjavajavaandjavahahajavagoodjava";rn /*String str = "sunjavahpjavaokjavajavahahajavagoodjava";rn 在字符串中多加了一个javaand就<em>报</em><em>异常</em>,如果不加and就不会<em>报</em>错*/rn System.out.println(str.indexOf(a));rn rn while((index = str.indexOf(a))!= -1)rn str = str.substring(index+str.indexOf(a));rn count++;rn rn System.out.println(count);rn rn[/code]rnrn查找了大量资料都没有弄懂,求大神指点一下,本人自学不容易啊!
生成验证码异常
[code=Java]rn< 4; i++) rn String ranNum = String.valueOf(random.nextInt(10));rn sbRan.append(ranNum);rn g.setColor(new Color(255, 255, 255));rn g.drawString(ranNum, 10 * i, 16);rn rnrn g.dispose();rnrn session.setAttribute("_CODE_", sbRan.toString());rnrn ImageIO.write(image, "PNG", response.getOutputStream());rn //response.getOutputStream().close();rn%>rnrn[/code]rnrn我有这样一个JSP文件,是用来生成验证码的rn运行时会抛出这样的<em>异常</em>:rn[color=#FF0000]java.lang.IllegalStateException: getOutputStream() has already been called for this response[/color]rnrn请问是什么原因呢 ?rn该怎么解决?
导出EXCEL 异常
[code=C#]rnfor (int i = 0; i < gridView.RowCount; i++)rn rn for (int j = 0; j < gridView.ColumnCount; j++)rn rn excel.Cells[i + 2, j + 1] = gridView[j, i].Value.ToString();rn Range ra2; rn ra2 = sheet.get_Range(excel.Cells[1,1]);rn ra2.Font.Bold = true;rn ra2 = null;rn rnrn[/code]rnrn我想根据条件设置单元格格式rn实验了一下给每个单元格都设置粗体rn结果<em>报</em><em>异常</em> HRESULT:0x800A03ECrn如果把这段删除就没事了rn[code=C#]rn ra2 = sheet.get_Range(excel.Cells[1,1]);rn ra2.Font.Bold = true;rn[/code]rn单独使用这两行不<em>报</em>错rn[code=C#]rn Range ra2; rn ra2 = null;rn[/code]rn谁帮我看看 那里的问题呀rn不明白
weblogicantlr.TokenStreamIOException异常
这两天对前段时候针对DB2所做的修改进行较全面的测试.将应用部署到Linux RedHat AS 4.0 + Weblogic81上.rnrn 让Weblogic郁闷了!rnrnweblogic.utils.ParsingException: nested TokenStreamException: antlr.TokenStreamIOExceptionrn at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:965)rn at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)rn at weblogic.servlet.jsp.JspParser.parse(JspParser.java:230)rn at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)rn at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)rn at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:367)rn at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:223)rn at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)rn at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:518)rnrn.....rn问题并不总是重现.当重启Weblogic的后,可能是工作正常的.出现得亳无规律.rnrnHack 了一下weblogic的代码.代码应该做了较好的混淆处理,相当强悍的jad反编译过来都是东一块西一块的.得不到太多的信息.rnrn不过从<em>异常</em>信息及得到的源码来看,猜测是编码出现问题.因为最终看到的<em>异常</em>是CharStreamIOException的一个包装.rnrnif(charstreamexception instanceof CharStreamIOException)rn throw new TokenStreamIOException(((CharStreamIOException)charstreamexception).io)rnrngoogle了一下,没找到十分可靠明确的原因及解决办法.rnrn存异一下先!rnrn如果有此经验的同学看到,还望不吝赐教.多谢先.rn rn
oracle数据库死锁异常
1.cd /oracle/admin/DBAXJ/bdump 下 2.tail -1000 alert_dbaxj.log |more 查看到ORA-00060: Deadlock detected. More info in file /oracle/admin/DBaxj/udump/DBAXJ_ora_9809.trc <em>报</em><em>异常</em> 3. 切换到/oracle/admin/DBaxj/u
JSONObject.fromObject(obj) 异常
我的java版本是1.6的。rnjson转化的jar分别是:commons-beanutils-1.7.0.jar,commons-collections-3.2.1.jar,commons-httpclient-3.1.jar,commons-lang-2.3.jar,commons-logging-1.1.1.jar,ezmorph-1.0.3.jar,json-lib-2.2.3-jdk15.jar。rn知道问题帮忙看看了,谢谢。rnrnACTION:rn Map jsonMap = new HashMap(); rn tasks = service.findAll(page, pageSize);rn total = dao.countTotalPage(pageSize);rn jsonMap.put("total", total);rn jsonMap.put("rows", tasks);rn JSONObject result = JSONObject.fromObject(jsonMap);rn错误信息:rnnet.sf.json.JSONException: java.lang.reflect.InvocationTargetExceptionrn at net.sf.json.JSONObject.defaultBeanProcessing(JSONObject.java:818)rn at net.sf.json.JSONObject._fromBean(JSONObject.java:699)rn at net.sf.json.JSONObject.fromObject(JSONObject.java:172)rn at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:274)rn at net.sf.json.JSONObject._processValue(JSONObject.java:2655)rn at net.sf.json.JSONObject.processValue(JSONObject.java:2721)rn at net.sf.json.JSONObject.setInternal(JSONObject.java:2736)rn at net.sf.json.JSONObject.setValue(JSONObject.java:1424)rn at net.sf.json.JSONObject.defaultBeanProcessing(JSONObject.java:765)rn at net.sf.json.JSONObject._fromBean(JSONObject.java:699)rn at net.sf.json.JSONObject.fromObject(JSONObject.java:172)rn at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:274)rn at net.sf.json.JSONArray._processValue(JSONArray.java:2513)rn at net.sf.json.JSONArray.processValue(JSONArray.java:2538)rn at net.sf.json.JSONArray.addValue(JSONArray.java:2525)rn at net.sf.json.JSONArray._fromCollection(JSONArray.java:1056)rn at net.sf.json.JSONArray.fromObject(JSONArray.java:123)rn at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:240)rn at net.sf.json.JSONObject._processValue(JSONObject.java:2655)rn at net.sf.json.JSONObject.processValue(JSONObject.java:2721)rn at net.sf.json.JSONObject.setInternal(JSONObject.java:2736)rn at net.sf.json.JSONObject.setValue(JSONObject.java:1424)rn at net.sf.json.JSONObject._fromMap(JSONObject.java:1168)rn at net.sf.json.JSONObject.fromObject(JSONObject.java:163)rn at net.sf.json.JSONObject.fromObject(JSONObject.java:134)rn at com.test.action.QueryPVTaskAction.showList(QueryPVTaskAction.java:41)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:441)rn at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:280)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:243)rn at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:165)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:252)rn at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.Conversion<em>Error</em>Interceptor.intercept(Conversion<em>Error</em>Interceptor.java:122)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:179)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:235)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:89)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:130)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:126)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:138)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:165)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:179)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)rn at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488)rn at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)rn at org.apache.catalina.valves.<em>Error</em>ReportValve.invoke(<em>Error</em>ReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)rn at java.lang.Thread.run(Unknown Source)rnCaused by: java.lang.reflect.InvocationTargetExceptionrn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:2155)rn at org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1323)rn at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:762)rn at org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:837)rn at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:426)rn at net.sf.json.JSONObject.defaultBeanProcessing(JSONObject.java:749)rn ... 90 morernCaused by: java.lang.IllegalArgumentExceptionrn at java.sql.Date.getHours(Unknown Source)rn ... 100 morern
j2ee异常拉.
org.hibernate.exception.GenericJDBCException: could not execute queryrn org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:54)rn org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)rn org.hibernate.loader.Loader.doList(Loader.java:2529)rn org.hibernate.loader.Loader.doList(Loader.java:2512)rn org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2342)rn org.hibernate.loader.Loader.list(Loader.java:2337)rn org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:338)rn org.hibernate.internal.SessionImpl.listCustomQuery(SessionImpl.java:1833)rn org.hibernate.internal.AbstractSessionImpl.list(AbstractSessionImpl.java:231)rn org.hibernate.internal.SQLQueryImpl.list(SQLQueryImpl.java:157)rn com.icehawk.dao.UserManagerDao.getUsers(UserManagerDao.java:21)rn com.icehawk.service.UserManagerService.getUsers(UserManagerService.java:13)rn com.icehawk.action.UserManagerAction.managerUsers(UserManagerAction.java:28)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:597)rn com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450)rn com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252)rn org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:256)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:167)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265)rn org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn com.opensymphony.xwork2.interceptor.Conversion<em>Error</em>Interceptor.intercept(Conversion<em>Error</em>Interceptor.java:138)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:239)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:239)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:191)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:73)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:91)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:252)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:161)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:193)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:189)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)rn org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:563)rn org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)rn org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)rnrnrn我在另一台计算机上运行代码没错 换一台计算机就出现这个错误了.rnrn Session session = sessionFactory.getCurrentSession();rn Transaction ts = session.beginTransaction();rn result = session.createSQLQuery("SELECT * FROM tbl_user").addEntity(User.class).list();rn ts.commit();rnrn
arraycopy 异常
byte[] cmd = new byte[1024];rn String tt;rntt="";rnSystem.arraycopy(tt,0,cmd,8,tt.length());rnrnrnrnHit uncaught exception java.lang.ArrayStoreException
WCFSystem.ServiceModel.Diagnostics.TraceUtility异常
[code=XML]rnrnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrn[/code]rn[code=C#]rn[ServiceContract]rn public interface IWfControlrn rn [OperationContract]rn [WebGet(UriTemplate = "Put/itemcode/wfState/des")]rn bool WfControl(string itemCode, string wfState, string des);rn rnrnpublic class WfControlServices : IWfControlrn rn public bool WfControl(string itemCode, string wfState, string des)rn rn //业务逻辑代码rn rn rn[/code]rn错误堆栈rn[code=C#]rn在 System.ServiceModel.Diagnostics.TraceUtility.SetEtwProviderId()rn 在 System.ServiceModel.ServiceHostBase..ctor()rn 在 System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses)rn 在 SOAHost.Program.SOAServiceStart()rn 在 SOAHost.Program.Main(String[] args)rn[/code]rnrn应该是WCF服务的节点配置问题rn因为用application单独调用http://ip:端口/WfControlServicesSoap运行没有问题;rn单独使用http://ip:端口/WfControlServicesRest/put/2103212012004/1/saf运行也没有问题rn但是当两个配置一起用<em>报</em>这个错误;rnWCF初学者,请高手指教rn或者有没有人能给个web和winform都能调用的wcf配置文件rn谢谢
模拟app 异常
html div class="promptBox">div> css: .promptBox{    position: fixed;    z-index: 990;    left: 50%;    background: white;    bottom: 10%;    transform: translate(-50%, -10%)
eclipse安装异常!
!SESSION 三月 12, 2007 12:54:31.595 ----------------------------------------------rneclipse.buildId=M200409161125rnjava.version=1.5.0_06rnjava.vendor=Sun Microsystems Inc.rnBootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CNrnrn!ENTRY org.eclipse.osgi 三月 12, 2007 12:54:31.595rn!MESSAGE <em>Error</em> installing bundle: reference:file:f:/原D盘/大三(下)课程相关课件/web应用程序设计-张顺淼/软件/eclipse-SDK-3.0.1-win32/eclipse/plugins/org.eclipse.update.configurator_3.0.0/rn!STACK 0rnorg.osgi.framework.BundleException: <em>Error</em> converting plugin at f:\原D盘\大三(下)课程相关课件\web应用程序设计-张顺淼\软件\eclipse-SDK-3.0.1-win32\eclipse\plugins\org.eclipse.update.configurator_3.0.0.rn at org.eclipse.core.runtime.adaptor.EclipseBundleData.generateManifest(EclipseBundleData.java:236)rn at org.eclipse.core.runtime.adaptor.EclipseBundleData.loadManifest(EclipseBundleData.java:191)rn at org.eclipse.core.runtime.adaptor.EclipseBundleData.getManifest(EclipseBundleData.java:159)rn at org.eclipse.core.runtime.adaptor.EclipseBundleData.loadFromManifest(EclipseBundleData.java:280)rn at org.eclipse.osgi.framework.internal.defaultadaptor.DefaultBundleData.initializeNewBundle(DefaultBundleData.java:77)rn at org.eclipse.osgi.framework.internal.defaultadaptor.DefaultAdaptor$1.begin(DefaultAdaptor.java:451)rn at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:746)rn at org.eclipse.osgi.framework.internal.core.Framework$2.run(Framework.java:664)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:715)rn at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:659)rn at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:219)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseStarter.java:800)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:429)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:222)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:127)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:585)rn at org.eclipse.core.launcher.Main.basicRun(Main.java:185)rn at org.eclipse.core.launcher.Main.run(Main.java:704)rn at org.eclipse.core.launcher.Main.main(Main.java:688)rnCaused by: org.eclipse.osgi.service.pluginconversion.PluginConversionException: <em>Error</em> parsing plugin manifest file f:\原D盘\大三(下)课程相关课件\web应用程序设计-张顺淼\软件\eclipse-SDK-3.0.1-win32\eclipse\plugins\org.eclipse.update.configurator_3.0.0 at .rn at org.eclipse.core.runtime.adaptor.PluginConverterImpl.parsePluginInfo(PluginConverterImpl.java:560)rn at org.eclipse.core.runtime.adaptor.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:111)rn at org.eclipse.core.runtime.adaptor.PluginConverterImpl.convertManifest(PluginConverterImpl.java:660)rn at org.eclipse.core.runtime.adaptor.EclipseBundleData.generateManifest(EclipseBundleData.java:233)rn ... 22 morernCaused by: javax.xml.parsers.ParserConfigurationException: Feature: http://xml.org/sax/features/string-interningrn at org.apache.crimson.jaxp.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.java:119)rn at org.eclipse.core.runtime.adaptor.PluginParser.parsePlugin(PluginParser.java:459)rn at org.eclipse.core.runtime.adaptor.PluginConverterImpl.parsePluginInfo(PluginConverterImpl.java:557)rn ... 25 morernRoot exception:rnorg.eclipse.osgi.service.pluginconversion.PluginConversionException: <em>Error</em> parsing plugin manifest file f:\原D盘\大三(下)课程相关课件\web应用程序设计-张顺淼\软件\eclipse-SDK-3.0.1-win32\eclipse\plugins\org.eclipse.update.configurator_3.0.0 at .rn at org.eclipse.core.runtime.adaptor.PluginConverterImpl.parsePluginInfo(PluginConverterImpl.java:560)rn at org.eclipse.core.runtime.adaptor.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:111)rn at org.eclipse.core.runtime.adaptor.PluginConverterImpl.convertManifest(PluginConverterImpl.java:660)rn at org.eclipse.core.runtime.adaptor.EclipseBundleData.generateManifest(EclipseBundleData.java:233)rn at org.eclipse.core.runtime.adaptor.EclipseBundleData.loadManifest(EclipseBundleData.java:191)rn at org.eclipse.core.runtime.adaptor.EclipseBundleData.getManifest(EclipseBundleData.java:159)rn at org.eclipse.core.runtime.adaptor.EclipseBundleData.loadFromManifest(EclipseBundleData.java:280)rn at org.eclipse.osgi.framework.internal.defaultadaptor.DefaultBundleData.initializeNewBundle(DefaultBundleData.java:77)rn at org.eclipse.osgi.framework.internal.defaultadaptor.DefaultAdaptor$1.begin(DefaultAdaptor.java:451)rn at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:746)rn at org.eclipse.osgi.framework.internal.core.Framework$2.run(Framework.java:664)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:715)rn at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:659)rn at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:219)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseStarter.java:800)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:429)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:222)rn
netbeans新建项目异常
在netbeans6.1中新建项目后出现这个freemarker.core.ParseException:Unexpected end of file reached.Unclosed if directive.rn请问怎么回事?
ignite启动异常
<em>异常</em>: org.springframework.beans.factory.BeanCreationException: <em>Error</em> creating bean with name 'getIgnite' defined in class path resource [com/hzy/config/IgniteConfig.class]: Bean instantiation via facto...
[求助]javaBean异常
org.apache.jasper.JasperException: Unable to compile class for JSPrnrnAn error occurred at line: 65 in the jsp file: /zhuce.jsprnGenerated servlet error:rnUnreachable codernrnrn org.apache.jasper.compiler.Default<em>Error</em>Handler.javac<em>Error</em>(Default<em>Error</em>Handler.java:84)rn org.apache.jasper.compiler.<em>Error</em>Dispatcher.javac<em>Error</em>(<em>Error</em>Dispatcher.java:328)rn org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:414)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn
hiberante异常
rn电影rn[code=java]package cn.demo.entity;rnrnimport java.io.Serializable;rnrnimport cn.demo.entity.MovieType;rnrnpublic class Movie implements Serializable rn rn private int Id;rn private String Name;rn private MovieType TypeId;rn private String Actor;rn private String Director;rn private int Price;rn rn public int getId() rn return Id;rn rn public void setId(int id) rn Id = id;rn rn public String getName() rn return Name;rn rn public void setName(String name) rn Name = name;rn rn rn public String getActor() rn return Actor;rn rn public void setActor(String actor) rn Actor = actor;rn rn public String getDirector() rn return Director;rn rn public void setDirector(String director) rn Director = director;rn rn public int getPrice() rn return Price;rn rn public void setPrice(int price) rn Price = price;rn rn public MovieType getTypeId() rn return TypeId;rn rn public void setTypeId(MovieType typeId) rn TypeId = typeId;rn rnrnrn[/code]rn映射文件rn[code=text]rnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn [/code]rn电影类型rn[code=java]package cn.demo.entity;rnrnpublic class MovieType rn private int Type_Id;rn private String Name;rn rn public int getType_Id() rn return Type_Id;rn rn public void setType_Id(int type_Id) rn Type_Id = type_Id;rn rn public String getName() rn return Name;rn rn public void setName(String name) rn Name = name;rn rnrnrn[/code]rn映射文件rn[code=java]rnrn rn rn rn rn rn rn rn rn rn rn rn [/code]rn测试类rn[code=java]package cn.demo.dao;rnrnimport org.hibernate.Session;rnimport org.hibernate.SessionFactory;rnimport org.hibernate.Transaction;rnimport org.hibernate.cfg.Configuration;rnrnimport cn.demo.entity.Movie;rnimport cn.demo.entity.MovieType;rnrnpublic class MovieDao rnrn Configuration conf=null;rn SessionFactory sf=null;rn Session session=null;rn Transaction tx=null;rn public void add()rn tryrn conf=new Configuration().configure();rn sf=conf.buildSessionFactory();rn session=sf.openSession();rn MovieType mt=(MovieType)session.load(MovieType.class, 1);rn Movie m=new Movie();rn m.setId(4);rn m.setName("逃学威龙");rn m.setPrice(60);rn m.setDirector("于晟");rn m.setActor("周星驰");rn m.setTypeId(mt);rn session.save(m);rn tx.commit();rn System.out.println("OK");rn catch(Exception e)rn e.printStackTrace();rn tx.rollback();rn System.out.println("No");rn rn rnrn[/code]rn运行后<em>异常</em>rn[img=https://img-bbs.csdn.net/upload/201407/26/1406357196_87429.png][/img]rnrn问下怎么解决 rn
为什么classcast异常
String b="wode";rn String c="wodedss";rn set.add(b);set.add(c);rn String [] aa = (String[])set.toArray();rn System.out.println(aa.length+" "+aa[1]);rn我想去的 set 里所有 元素 这样写 为什么<em>报</em>那个错误,请教中
调用WebService异常
AxisFaultrn faultCode: http://schemas.xmlsoap.org/soap/envelope/Server.userExceptionrn faultSubcode: rn faultString: java.lang.reflect.InvocationTargetExceptionrn faultActor: rn faultNode: rn faultDetail: rn http://xml.apache.org/axis/hostname:server4rnrnjava.lang.reflect.InvocationTargetExceptionrn at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)rn at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)rn at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)rn at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)rn at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)rn at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)rn at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)rn at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)rn at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)rn at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)rn at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)rn at org.apache.axis.client.Call.invokeEngine(Call.java:2784)rn at org.apache.axis.client.Call.invoke(Call.java:2767)rn at org.apache.axis.client.Call.invoke(Call.java:2443)rn at org.apache.axis.client.Call.invoke(Call.java:2366)rn at org.apache.axis.client.Call.invoke(Call.java:1812)rn at cn.com.hnisi.viointerface.demo.EPODemo.main(EPODemo.java:105)rn
Socket网络编程异常
Client类rn[code=Java]package ex30;rnrnimport java.io.*;rnimport java.net.*;rnimport java.awt.*;rnimport java.awt.event.*;rnimport javax.swing.*;rnrnpublic class Client extends JFramern // Text field for receiving radiusrn private JTextField jtf = new JTextField();rn rn // Text area to display contentsrn private JTextArea jta = new JTextArea();rn rn // IO streamsrn private DataOutputStream toServer;rn private DataInputStream fromServer;rn rn public static void main(String[] args) rn // TODO 自动生成方法存根rn new Client();rn rn rn public Client()rn // Panel p to hold the label and text fieldrn JPanel p = new JPanel();rn p.setLayout(new BorderLayout());rn p.add(new JLabel("Enter radius"), BorderLayout.WEST);rn p.add(jtf, BorderLayout.CENTER);rn jtf.setHorizontalAlignment(JTextField.RIGHT);rn rn setLayout(new BorderLayout());rn add(p, BorderLayout.NORTH);rn add(new JScrollPane(jta), BorderLayout.CENTER);rn rn jtf.addActionListener(new TextFieldListener());rn rn setTitle("Client");rn setSize(500, 300);rn setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);rn setVisible(true); // It is necessary to show the frame here!rn rn tryrn // Create a socket to connect to the serverrn Socket socket = new Socket("localhost", 8000);rn // Socket socket = new Socket("130.254.204.36", 8000);rn // Socket socket = new Socket("drake.Armstrong.edu", 8000);rn rn // Create an input stream to receive data from the serverrn toServer =rn new DataOutputStream(socket.getOutputStream());rn rn catch(IOException ex)rn jta.append(ex.toString() + '\n');rn rn rn rn private class TextFieldListener implements ActionListenerrn public void actionPerformed(ActionEvent e)rn tryrn // Get the radius from the text fieldrn double radius = Double.parseDouble(jtf.getText().trim());rn rn // Send the radius to the serverrn toServer.writeDouble(radius);rn toServer.flush();rn rn // Get area from the serverrn double area = fromServer.readDouble(); //这一行为什么会<em>报</em><em>异常</em>,但程序还能运行rn rn // Display to the text arearn jta.append("Radius is " + radius + "\n");rn jta.append("Area received from the server is "rn + area + '\n');rn rn catch(IOException ex)rn System.err.println(ex);rn rn rn rnrnrn[/code]rnServer类rn[code=Java]package ex30;rnrnimport java.io.*;rnimport java.net.*;rnimport java.awt.*;rnimport java.awt.event.*;rnimport javax.swing.*;rnrnpublic class Client extends JFramern // Text field for receiving radiusrn private JTextField jtf = new JTextField();rn rn // Text area to display contentsrn private JTextArea jta = new JTextArea();rn rn // IO streamsrn private DataOutputStream toServer;rn private DataInputStream fromServer;rn rn public static void main(String[] args) rn // TODO 自动生成方法存根rn new Client();rn rn rn public Client()rn // Panel p to hold the label and text fieldrn JPanel p = new JPanel();rn p.setLayout(new BorderLayout());rn p.add(new JLabel("Enter radius"), BorderLayout.WEST);rn p.add(jtf, BorderLayout.CENTER);rn jtf.setHorizontalAlignment(JTextField.RIGHT);rn rn setLayout(new BorderLayout());rn add(p, BorderLayout.NORTH);rn add(new JScrollPane(jta), BorderLayout.CENTER);rn rn jtf.addActionListener(new TextFieldListener());rn rn setTitle("Client");rn setSize(500, 300);rn setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);rn setVisible(true); // It is necessary to show the frame here!rn rn tryrn // Create a socket to connect to the serverrn Socket socket = new Socket("localhost", 8000);rn // Socket socket = new Socket("130.254.204.36", 8000);rn // Socket socket = new Socket("drake.Armstrong.edu", 8000);rn rn // Create an input stream to receive data from the serverrn toServer =rn new DataOutputStream(socket.getOutputStream());rn rn catch(IOException ex)rn jta.append(ex.toString() + '\n');rn rn rn rn private class TextFieldListener implements ActionListenerrn public void actionPerformed(ActionEvent e)rn tryrn // Get the radius from the text fieldrn double radius = Double.parseDouble(jtf.getText().trim());rn rn // Send the radius to the serverrn toServer.writeDouble(radius);rn toServer.flush();rn rn // Get area from the serverrn double area = fromServer.readDouble(); //这一行为什么会<em>报</em><em>异常</em>,但程序还能运行rn rn // Display to the text arearn jta.append("Radius is " + radius + "\n");rn jta.append("Area received from the server is "rn + area + '\n');rn rn catch(IOException ex)rn System.err.println(ex);rn rn rn rnrnrn[/code]rn先运行,Server类,再运行client类,在Client中填入数字后,在Server类的第70行就<em>报</em><em>异常</em>,rn不知道为什么会这样,而且<em>报</em><em>异常</em>后程序还能运行,就是一直<em>报</em><em>异常</em>
OpenJpa异常
[code=Java]java.lang.ClassNotFoundException: org.apache.openjpa.enhance.InstrumentationFactoryrn at java.net.URLClassLoader$1.run(URLClassLoader.java:200)rn at java.security.AccessController.doPrivileged(Native Method)rn at java.net.URLClassLoader.findClass(URLClassLoader.java:188)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:306)rn at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:251)rn at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:280)rn at sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:348)[/code]rn 启动不<em>报</em>错,但是一运行就<em>报</em>这错。。有用过OpenJpa的人帮我看看。。
在序列化的时候异常
在打开程序的时候 在序列化的时候<em>报</em>的<em>异常</em>。rn崩溃代码如下:rn[code=c]rn // TODO: add loading code herern ar >> m_bAutoFollow;rn int nCount;rn ar >> nCount;rn for (int i = 0; i < nCount; i++)rn m_Archives.AddTail((CWTArchive*)ar.ReadObject(RUNTIME_CLASS(CWTArchive)));rn ar >> nCount;rn for (i = 0; i < nCount; i++)rn m_DelPages.AddTail((CWTArchivePage*)ar.ReadObject(RUNTIME_CLASS(CWTArchivePage)));rn ar >> m_bJudg;rn ar >> m_bSplit;rn[/code]rnrn程序走到 m_Archives.AddTail((CWTArchive*)ar.ReadObject(RUNTIME_CLASS(CWTArchive)));rn的时候 <em>报</em>错:“Unhandled exception in ArchInput.exe(KERNELBASE.DLL):0xe06d7363 Micorsoft C++ Exception”rnrn一直崩溃 不知道 咋回事 rnrn求大神哈
异常求助!!!
<em>异常</em>信息:在选定的数据源上未找到名为“Position.Name”的字段或属性。 rnrn在手动绑定gridview时<em>报</em>这个<em>异常</em>,我数据源是list集合,Position是一个类成员变量,他有name这个属性,但就是找不到!!!
spring+redis NullPointerException异常
小弟在使用Spring的spring-data-redis来操作redis缓存时遇到下面这个问题,麻烦各位大侠帮助解惑一下:rnapplication.xml配置文件如下:rn[code=html]rnrnrn rn rn rn rn rn rn rn rn rnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrnrn[/code]rnrnUserServiceImpl类如下:rn[code=java]rnpackage yyuap.redis.spring.service;rnrnimport org.springframework.cache.annotation.CachePut;rnimport org.springframework.cache.annotation.Cacheable;rnimport org.springframework.util.StringUtils;rnrnimport yyuap.redis.spring.model.UserEntity;rnrn/**rn * 业务层接口实现rn * @author leorn *rn */rnpublic class UserServiceImpl rn rn private static final String cacheKey ="userEntity";rn rn /**rn * 新增rn * @param entityrn * @returnrn * @CachePut 这个注释可以确保方法被执行,同时方法的返回值也被记录到缓存中,实现缓存与数据库的同步更新。rn */rn @CachePut(key ="#entity.getUserId()",value ="entity") rn public void addUserEntity(UserEntity entity) rn //非空rn if(entity ==null || StringUtils.isEmpty(entity.getUserId()))rn rn /**rn * 做数据库持久化,这里就无需再申明了rn */rn System.out.println("先插入数据库中,.........");rn rn rnrn[/code]rnrnUserEntiy实体类如下:rn[code=java]rnpackage yyuap.redis.spring.model;rn/**rn * 用户实体类rn * @author leorn *rn */rnpublic class UserEntity rn //用户idrn private String userId;rn //用户账号rn private String EmpCode;rn //用户名称rn private String EmpName;rn //用户角色rn private String role;rn //职位rn private String title;rn public String getUserId() rn return userId;rn rn public void setUserId(String userId) rn this.userId = userId;rn rn public String getEmpCode() rn return EmpCode;rn rn public void setEmpCode(String empCode) rn EmpCode = empCode;rn rn public String getEmpName() rn return EmpName;rn rn public void setEmpName(String empName) rn EmpName = empName;rn rn public String getRole() rn return role;rn rn public void setRole(String role) rn this.role = role;rn rn public String getTitle() rn return title;rn rn public void setTitle(String title) rn this.title = title;rn rnrn[/code]rnrn测试类如下:rn[code=java]rnpackage yyuap.redis.spring;rnimport org.junit.After;rnimport org.junit.Before;rnimport org.junit.Test;rnimport org.junit.runner.RunWith;rnimport org.springframework.beans.factory.annotation.Autowired;rnimport org.springframework.test.context.ContextConfiguration;rnimport org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests;rnimport org.springframework.test.context.junit4.SpringJUnit4ClassRunner;rnrnimport yyuap.redis.spring.model.UserEntity;rnimport yyuap.redis.spring.service.UserServiceImpl;rnrnrn@RunWith(SpringJUnit4ClassRunner.class) rn@ContextConfiguration(locations="classpath:applicationContext.xml")rnpublic class TestUserServiceImpl extends AbstractJUnit4SpringContextTestsrn rn @Autowiredrn private UserServiceImpl userServiceImpl;rn rn @Testrn public void testAddUser()rn UserEntity entity = new UserEntity();rn entity.setUserId("000003");rn entity.setEmpCode("130566");rn entity.setEmpName("leonardo-zeng");rn entity.setRole("Java Development Engineer");rn entity.setTitle("PM");rn userServiceImpl.addUserEntity(entity);rn rnrnrn[/code]rnrn但是在运行测试类的testAddUser()方法时总是<em>报</em>如下<em>异常</em>:rn[img=https://img-bbs.csdn.net/upload/201505/29/1432866619_513804.png][/img]rnrn这是什么原因导致的。
c#图片显示异常
Stream se = response.GetResponseStream();rn rn Bitmap bmp = new Bitmap(se);//这里<em>报</em><em>异常</em>:在 System.NotSupportedException 中第一次偶然出现的“System.dll”类型的<em>异常</em>rn有没有知道为什么?
TADOQuery.Open()异常。。。
Debugger Exception NotificationrnrnProject MTK_W.exe raised exception class EAccessViolation with message ' Access violation at address 00404693 in module 'MTK_W.exe'. Read of address A6C6A74A ' . Process stopped . Use Step or Run to continue.rnrn以上是错误信息,下面程序中,我用断点查看了connStr,sno等相关参数的值也都是正确的。rn我用类似的代码在另外的程序中连接数据库进行存取操作都是正常的,怎么在这里突然<em>报</em>这种错。rnrn[code=C/C++]rn //define varrn TADOConnection *conn=new TADOConnection(NULL);rn TADOQuery *qry=new TADOQuery(NULL);rn TMemoryStream *temp=new TMemoryStream();rn TBlobField *pAddr,*pBlock;rn TADOBlobStream *pmemAddr,*pmemBlock;rnrn //useful strrn AnsiString user="";rn AnsiString snoStr=Edit1->Text;rn AnsiString connStr=GetConfigInfo();rn AnsiString strMacFileName=(AnsiString)GetCurrentDir()+"\\addr.dat";rn AnsiString strKeyFileName=(AnsiString)GetCurrentDir()+"\\block.bin";rn bool bUpgradeResult;rnrn //set ado connection & queryrn conn->ConnectionString=connStr;rn conn->Open();rnrn //get addr & block from db by snorn qry->Connection=conn;rnrn qry->Active=false;rn qry->SQL->Clear();rn qry->SQL->Add("select addr from [mtk_key] where sno='"+snoStr+"'");rn //到这里就<em>报</em>错了rn qry->Open();rn pAddr=(TBlobField *)qry->FieldByName("addr");rn[/code]rnrnrnps:顺便再问下,删除指定路径的文件,用什么类的什么函数,需要引入什么头文件。 3q!
sessionFactory.getCurrentSession().close()异常
小弟在一个项目中用到了hibernate(4.1.6版本)和spring(3.2.3版本)框架,想关闭session来释放数据库连接(因为测试时,我发现以前不调用close()时,很快服务器就会提示数据库连接已经被占满)时,却遇到了如下<em>异常</em>:rn[code=java]rnorg.springframework.transaction.TransactionSystemException: Could not commit Hibernate transaction;rnnested exception is org.hibernate.TransactionException: commit failedrn at org.springframework.orm.hibernate4.HibernateTransactionManager.doCommit(HibernateTransacrnionManager.java:558)rn at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommitrnAbstractPlatformTransactionManager.java:755)rn at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstrarntPlatformTransactionManager.java:724)rn at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfrnerReturning(TransactionAspectSupport.java:475)rn at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransacrnion(TransactionAspectSupport.java:270)rn Truncated. see log file for complete stacktracernCaused By: org.hibernate.TransactionException: commit failedrn at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionIrnpl.java:185)rn at org.springframework.orm.hibernate4.HibernateTransactionManager.doCommit(HibernateTransacrnionManager.java:554)rn at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommitrnAbstractPlatformTransactionManager.java:755)rn at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstrarntPlatformTransactionManager.java:724)rn at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfrnerReturning(TransactionAspectSupport.java:475)rn Truncated. see log file for complete stacktracernCaused By: org.hibernate.TransactionException: unable to commit against JDBC connectionrn at org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.doCommit(JdbcTransaction.rnava:116)rn at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionIrnpl.java:178)rn at org.springframework.orm.hibernate4.HibernateTransactionManager.doCommit(HibernateTransacrnionManager.java:554)rn at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommitrnAbstractPlatformTransactionManager.java:755)rn at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstrarntPlatformTransactionManager.java:724)rn Truncated. see log file for complete stacktracernCaused By: java.sql.SQLException: You can't operate on a closed Connection!!!rn at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)rn at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:65)rn at com.mchange.v2.c3p0.impl.NewProxyConnection.commit(NewProxyConnection.java:809)rn at org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.doCommit(JdbcTransaction.rnava:112)rn at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionIrnpl.java:178)rn Truncated. see log file for complete stacktracernCaused By: java.lang.NullPointerExceptionrn at com.mchange.v2.c3p0.impl.NewProxyConnection.commit(NewProxyConnection.java:803)rn at org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.doCommit(JdbcTransaction.rnava:112)rn at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionIrnpl.java:178)rn at org.springframework.orm.hibernate4.HibernateTransactionManager.doCommit(HibernateTransacrnionManager.java:554)rn at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommitrnAbstractPlatformTransactionManager.java:755)rn Truncated. see log file for complete stacktracern>rn[/code]rnrnrn百度了一下,有人说通过currentSession得到的Session不需要手动关闭,因为会自动关闭,但是我觉得不可信,因为如果自动关闭的话,那就不会遇到数据库连接不足的情况了。rnrn下面是代码:rn[code=java]rn@Repositoryrnpublic class ProjectDaoImpl implements ProjectDao rnrn @Autowiredrn SessionFactory sessionFactory;rn rn public ProjectDaoImpl(SessionFactory sessionFactory) rn this.sessionFactory = sessionFactory;rn rn rn /*rn * This default constructor must exist if you have overwritten it with parametersrn * Otherwise you will can't instantiate it.rn * */rn public ProjectDaoImpl() rn super();rn rn @Overridern public ArrayList findProjectByPage(int startIndex, int pageSize) rn rn Session session = sessionFactory.getCurrentSession();rn rn String hql = "from Project order by num desc";rnrn ArrayList arrayList = (ArrayList)sessionrn .createQuery(hql)rn .setFirstResult(startIndex)rn .setMaxResults(pageSize)rn .list();rn session.close();rn rn rn return arrayList;rn rnrn[/code]rnrn并且通过spring配置了事务,配置文件如下:rn[code=java]rnrnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrn[/code]rnrnrn请大牛出手相助,小弟不胜感激。
hibernate异常?
执行到Transaction tx = session.beginTransaction();<em>报</em><em>异常</em>rnrn<em>异常</em>信息:rnjava.lang.NullPointerException
hibernate类型转换异常
java.lang.NullPointerException at org.hibernate.type.LongType.next(LongType.java:76) at org.hibernate.type.LongType.next(LongType.java:40) at org.hibernate.engine.Versioning.increment(Version
AS导入项目单元异常
解决办法: 在项目的 build.gradle 添加如下方法 all<em>project</em>s{ gradle.taskGraph.whenReady { tasks.each { task -&gt; if (task.name == 'mockableAndroidJar') { task.enabled = ...
关于apacheauthz_core:error和core:error
[size=18px]系统环境是windows 2012 64x+apache2.4.2+php 5.6.21+mysql5.5[/size]rnrnerror.log日志文件主要<em>报</em>以下2个错误:rn[Sat Jun 18 05:55:40.489948 2016] [authz_core:error] [pid 5092:tid 992] [client 80.82.78.38:34196] AH01630: client denied by server configuration: C:/xitong2/Apache24/htdocs/cachernrn[Sat Jun 18 04:48:21.974301 2016] [core:error] [pid 5092:tid 996] (20024)<em>The</em> given path is misformatted or contained invalid characters: [client 121.42.0.31:34644] AH00127: Cannot map GET /'%22/%3E%3C/script%3E%3Cscript%3Ealert()%3C/script%3E HTTP/1.1 to file, referer: http://101.201.210.137rnrnhttpd-vhosts.conf文件配置了2个站点,设置如下:rnrnrn ServerAdmin szbjm@szbjm.comrn DocumentRoot "C:\inetpub\wx2"rn ServerName wx.szbjm.comrn DirectoryIndex index.html index.php rn <em>Error</em>Log "logs/wx.log"rn CustomLog "logs/wx.log" commonrn rn Options -Indexes +FollowSymlinks rn AllowOverride Allrn Require all grantedrn rnrnrnrn ServerAdmin szbjm@szbjm.comrn DocumentRoot "C:\inetpub\wwwroot"rn ServerName www.szbjm.comrn DirectoryIndex index.html index.php rn <em>Error</em>Log "logs/www.log"rn CustomLog "logs/www.log" commonrn rn Options -Indexes +FollowSymlinks rn AllowOverride Allrn Require all grantedrn rnrnrn有懂得朋友帮忙抽空帮忙看看是什么原因,谢谢!
MonoDevelop 的安装与设置
<em>MonoDevelop</em> 的安装与设置,主要是配合着Unity3D游戏引擎的编译工具,对于js和c#都有代码提示和补全功能,而且可以随时调试。
MonoDevelop 常用设置和快捷键
一直用vs写代码,今天在苹果电脑上调试没有办法只能用<em>MonoDevelop</em>用起来不太顺网上就找了一下基本的设置和快捷键如下: 一:常用设置 1.折叠代码:Tools -> Options -> Text Editor -> General -> Code Folding中把Enable code folding打勾即可 2.格式化代码:Edit - format -
MonoDevelop相关设置
代码的格式化: Project -&amp;gt; Solution Options -&amp;gt; Source Code -&amp;gt; Code Formatting -&amp;gt; C# source code -&amp;gt; C# Format -&amp;gt; Edit PS: 如果改完之后保存<em>报</em>could not save solution xx is not under version control的错...
Alignment Error异常
<em>异常</em>位置:kernel.dll的CleanPagesIn<em>The</em>Background函数,用KCall调用GetADirtyPage,在GetADirtyPage内部发生<em>异常</em>。rn不用kitl时会发生<em>异常</em>,于是想用kitl仔细调试一下,结果加上kitl之后没有<em>异常</em>发生。很奇怪。rn请问这是怎么回事呢?谢谢!
异常Exception与错误Error
<em>异常</em>:出现在代码级别上的语法或语义错误,违反了java或实际的规定,比如用 -1 作为 array index 错误:语法和语义上没有错误,但是会造成VM出错或者内存<em>异常</em>等状况的,比如一个死循环不断创造实例让内存溢出...
DWR异常:ERROR [org.directwebremoting.impl.DefaultCreatorManager] -
小弟做个DWR+Spring+Hibernate的小程序,但是DWR提示这个问题,不知道错在什么地方,请大虾帮忙说下,谢谢!
异常:java.sql.SQLException: General error
代码如下:rnpackage com.raymond.servlet;rnrnrnimport javax.servlet.*;rnimport javax.servlet.http.*;rnimport java.io.*;rnimport java.util.*;rnimport com.raymond.util.*;rnimport java.sql.*;rnimport jxl.format.UnderlineStyle;rnimport jxl.write.WritableFont;rnimport jxl.write.WritableCellFormat;rnimport jxl.Workbook;rnrnrnpublic class CompanyNum_Exp extends HttpServlet rn private static final String CONTENT_TYPE = "text/html; charset=GBK";rnrn //Initialize global variablesrn public void init() throws ServletException rn rnrn //Process the HTTP Get requestrn public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException rn response.setContentType(CONTENT_TYPE);rn String ctxpath = request.getContextPath();rn// HttpSession session = request.getSession();rn rn String sTableName = RayTools.safeTrim(request.getParameter("tablename"));rn String sHost = RayTools.safeTrim(request.getParameter("host"));rn String sPort = RayTools.safeTrim(request.getParameter("port"));rn String sDbname = RayTools.safeTrim(request.getParameter("dbname"));rn String sFiled = RayTools.safeTrim(request.getParameter("filed"));rn String sFilename = RayTools.safeTrim(request.getParameter("filename"));rn String sUrl = "jdbc:odbc:Driver=SQL Server;Server=" + sHost + ";Database=" + sDbname;rn String strSql = "select " + sFiled + " from " + sTableName;rn //先对传入的字符串(查询条件)进行操作rn String[] sColumn = sFiled.split(",");rn String sMainFiled = sColumn[0];rn int iColumnCount = sColumn.length;rn //for (int j=0;j 0 ? 1 : 0);rn for (int i = 1; i < 10) rn sOutPutFile = sFilename + "00" + i;rn rn if (i < 100 && i >= 10) rn sOutPutFile = sFilename + "0" + i;rn rn if (i < 1000 && i >= 100) rn sOutPutFile = sFilename + i;rn rn rn Random a = new Random();rn rn filename = "c:\\temp\\" + sOutPutFile + ".xls";rn fos = new FileOutputStream(filename);rn wwb = Workbook.createWorkbook(fos);rn ws = wwb.createSheet("企业名录", 1);rn int row = 0;rn for (int j = 0; j < iColumnCount; j++) rn ws.addCell(new jxl.write.Label(j, 0, sColumn[j], headerFormat));rn rn cstm = conn.prepareCall("call P_GetPageData(?,?,?,?,?, ?,?,?)");rn cstm.setString(1, sTableName);rn cstm.setString(2, sFiled);rn cstm.setString(3, sMainFiled);rn cstm.setInt(4, iPerNumber);rnrn cstm.setInt(5, i);rn cstm.setInt(6, 0);rn cstm.setInt(7, 0);rn cstm.setString(8, "");rn rs = cstm.executeQuery();rnrn while (rs.next()) rnrn row++;rn for (int k = 1; k );rn rnrn rnrn public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException rn doGet(request, response);rn rnrn //Clean up resourcesrn public void destroy() rn rnrnrn出现的问题:当次2次执行存储过程P_GetPageData的时候,出现错误提示:java.sql.SQLException: General errorrnrn提示出现在代码rnrs = cstm.executeQuery();rn的位置。rnrn请问:应该怎么修改代码?谢谢。
vc异常 runtimer error
用VC6写了一个采集程序,负责采集声音信号然后向服务器传数据,程序应该没问题。但刚发现空跑一段时间后会出现"runtimer error:this application has requested the runtime to terminate it in an unusual way",感觉很奇怪,空跑的时候不采数据,只是每隔10秒向服务器发一个心跳。怎么会产生<em>异常</em>呢?后来查了下微软官方解释,说是如果使用 /GR 和 /MD 编译器开关,并且 Msvcrt.dll 文件和 Msvcirt.dll 文件的版本是 7.0.x,则可能出现此问题。rn但没给出具体咋解决的,有没有遇到过这种情况的?知道的帮一把,多谢rn
Error异常抛出
实践项目之深入Javascript <em>异常</em>(<em>Error</em>)n课程详细的讲解了Javascript的错误<em>异常</em>, 深入<em>异常</em>的原型方法, 合理的处理自己的错误信息, 以及自定义自己的<em>异常</em>等等.
抛出 error 异常的方式
抛出 error <em>异常</em>的方式 一种方式是通过 error.New 产生<em>异常</em>。 func Sqrt(f float64) (float64, error) { if f &amp;lt; 0 { return 0, errors.New(&quot;math: square root of negative number&quot;) } // implementation } ...
异常,是什么异常?如何解决?
Exception reportrnrnmessage rnrndescription <em>The</em> server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnjavax.servlet.ServletExceptionrn 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.doPost(ActionServlet.java:432)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:709)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)rn org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)rn org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)rn org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)rnrnrnroot cause rnrnjava.lang.NullPointerExceptionrn org.action.UserAction.addJjin(UserAction.java:116)rn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn java.lang.reflect.Method.invoke(Unknown Source)rn org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)rn org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)rn org.apache.struts.actions.MappingDispatchAction.execute(MappingDispatchAction.java:169)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.doPost(ActionServlet.java:432)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:709)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)rn org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)rn org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)rn org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)rnrnrnnote <em>The</em> full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.rnrnrn--------------------------------------------------------------------------------rnrnApache Tomcat/5.5.20
程序运行异常: KERNELBASE.dll模块加载异常
             一直跑的Job忽然不能启动,<em>报</em><em>异常</em>KERNELBASE.dll,网上查了一下基本有三种方法:            1.KERNELBASE.dll  此模块损坏,覆盖文件。    由于是服务器存在此问题的可能性不大,并且别的job没有问题。            2.以管理员运行。                                             ...
启动异常:CONTEXTS IN ERROR: Name -> Error
第一次用JBOSS就出现<em>异常</em>,不知道是怎么回事,大家帮忙看看,谢谢了。rn===============================================================================rnrn JBoss Bootstrap Environmentrnrn JBOSS_HOME: D:\jboss-5.0.0.GArnrn JAVA: D:\Java\jdk1.6.0\bin\javarnrn JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=25rn6m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsrnun.rmi.dgc.server.gcInterval=3600000rnrn CLASSPATH: D:\jboss-5.0.0.GA\bin\run.jarrnrn===============================================================================rnrn19:41:40,828 INFO [ServerImpl] Starting JBoss (Microcontainer)...rn19:41:40,828 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVrnNTag=JBoss_5_0_0_GA date=200812042120)rn19:41:40,828 INFO [ServerImpl] Bootstrap URL: nullrn19:41:40,828 INFO [ServerImpl] Home Dir: D:\jboss-5.0.0.GArn19:41:40,828 INFO [ServerImpl] Home URL: file:/D:/jboss-5.0.0.GA/rn19:41:40,828 INFO [ServerImpl] Library URL: file:/D:/jboss-5.0.0.GA/lib/rn19:41:40,828 INFO [ServerImpl] Patch URL: nullrn19:41:40,828 INFO [ServerImpl] Common Base URL: file:/D:/jboss-5.0.0.GA/common/rnrn19:41:40,828 INFO [ServerImpl] Common Library URL: file:/D:/jboss-5.0.0.GA/commrnon/lib/rn19:41:40,828 INFO [ServerImpl] Server Name: defaultrn19:41:40,828 INFO [ServerImpl] Server Base Dir: D:\jboss-5.0.0.GA\serverrn19:41:40,828 INFO [ServerImpl] Server Base URL: file:/D:/jboss-5.0.0.GA/server/rnrn19:41:40,828 INFO [ServerImpl] Server Config URL: file:/D:/jboss-5.0.0.GA/servernr/default/conf/rn19:41:40,843 INFO [ServerImpl] Server Home Dir: D:\jboss-5.0.0.GA\server\defaulrntrn19:41:40,843 INFO [ServerImpl] Server Home URL: file:/D:/jboss-5.0.0.GA/server/rndefault/rn19:41:40,843 INFO [ServerImpl] Server Data Dir: D:\jboss-5.0.0.GA\server\defaulrnt\datarn19:41:40,843 INFO [ServerImpl] Server Library URL: file:/D:/jboss-5.0.0.GA/servrner/default/lib/rn19:41:40,843 INFO [ServerImpl] Server Log Dir: D:\jboss-5.0.0.GA\server\defaultrn\logrn19:41:40,843 INFO [ServerImpl] Server Native Dir: D:\jboss-5.0.0.GA\server\defarnult\tmp\nativern19:41:40,843 INFO [ServerImpl] Server Temp Dir: D:\jboss-5.0.0.GA\server\defaulrnt\tmprn19:41:40,843 INFO [ServerImpl] Server Temp Deploy Dir: D:\jboss-5.0.0.GA\serverrn\default\tmp\deployrn19:41:41,515 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/D:/jrnboss-5.0.0.GA/server/default/conf/bootstrap.xmlrn19:41:42,078 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plrnugins.cache.IterableTimedVFSCache]rn19:41:42,093 INFO [VFSCacheFactory] Using VFSCache [IterableTimedVFSCachelifetrnime=1800, resolution=60]rn19:41:42,437 INFO [CopyMechanism] VFS temp dir: D:\jboss-5.0.0.GA\server\defaulrnt\tmprn19:41:42,453 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.rnrn19:41:43,828 INFO [ServerInfo] Java version: 1.6.0-beta2,Sun Microsystems Inc.rn19:41:43,828 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0-beta2-rnb86,Sun Microsystems Inc.rn19:41:43,828 INFO [ServerInfo] OS-System: Windows XP 5.1,x86rn19:41:43,859 INFO [JMXKernel] Legacy JMX core initializedrn19:41:46,921 INFO [ProfileServiceImpl] Loading profile: default from: org.jbossrn.system.server.profileservice.repository.SerializableDeploymentRepository@304648rn(root=D:\jboss-5.0.0.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143brn82c3[domain=default,server=default,name=default])rn19:41:46,937 INFO [ProfileImpl] Using repository:org.jboss.system.server.profilrneservice.repository.SerializableDeploymentRepository@304648(root=D:\jboss-5.0.0.rnGA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,srnerver=default,name=default])rn19:41:46,937 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@13ec758key=rnorg.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,nrname=default]rn19:41:48,703 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083rn/rn19:41:52,343 ERROR [AbstractKernelController] <em>Error</em> installing to Create: name=MrnanagedConnectionFactoryParserDeployer state=Configuredrnjava.lang.IllegalArgumentException: interface org.jboss.managed.api.annotation.MrnanagementProperty is not visible from class loaderrn at java.lang.reflect.Proxy.getProxyClass(Proxy.java:353)rn at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581)rn at com.sun.xml.bind.v2.model.annotation.LocatableAnnotation.create(LocatrnableAnnotation.java:37)rn at com.sun.xml.bind.v2.model.annotation.RuntimeInlineAnnotationReader.gerntAllMethodAnnotations(RuntimeInlineAnnotationReader.java:47)rn at java.lang.Thread.run(Thread.java:619)rn19:41:54,843 INFO [NativeServerConfig] JBoss Web Services - Stack Native Corern19:41:54,843 INFO [NativeServerConfig] 3.0.4.SP1rn19:41:57,625 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary ofrnincomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):rnrn*** CONTEXTS IN ERROR: Name -> <em>Error</em>rnrnManagedConnectionFactoryParserDeployer -> java.lang.IllegalArgumentException: inrnterface org.jboss.managed.api.annotation.ManagementProperty is not visible fromrnclass loaderrnrnrn19:41:57,625 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=rnJBoss_5_0_0_GA date=200812042120)] Started in 16s:782msrn
MonoDevelop 安装
安装<em>MonoDevelop</em> 时rn提示 Gtk# version 2.12.9 or greater must be installed.rngtk-sharp已经安装过了 版本是2.12.22了
MONODEVELOP里的新人问题
我在monodevelop里创建了console文件,在console窗口里把左侧标着solution的那一栏关闭了,现在我想打开它,具体路径是什么?新人小白求助啊
java异常:2、异常的分类?Exception、Error
声明:本教程不收取任何费用,欢迎转载,尊重作者劳动成果,不得用于商业用途,侵权必究!!! 文章目录 简介 <em>Error</em>类 Exception类 <em>异常</em>分类 简介 Java中所有的<em>异常</em>都由类来表示。 所有的<em>异常</em>类都是从java.lang包中的一个名为Throwable的类派生出来的。 当程序中发生某个<em>异常</em>时,就会生成一个<em>异常</em>类的某种类型的对象。 Throwable有两个直接子类:Ex...
monodevelop常用默认快捷键
win模式下 ctrl+K      删除光标所在行的该行后面的代码 ctrl+ alt+C  注释/不注释该行 ctrl+ DOWN   像鼠标滚轮一样向下拖 ctrl+ UP     像鼠标滚轮一样向上拖 ctrl+ F      在当前文档中查找 ctrl+ shift+F 在工程全部文档中查找 ctrl+ h      替换代码 ctrl+ shift+w
monodevelop开发问题
在monodevelop开发环境中,怎么样才能操作sql server数据库,用那个名字空间,那个
monodevelop,窗体程序开发请教
各位:rn我新接触monodevelop,(是在ubuntu系统下),rn并且,控件的相关信号(事件)也模糊,rn我想实现窗体上画出一些曲线或者绘图,一下是我的 思路:rn1.添加一个vbox容器,rn2.添加一个drawingarea控件rn3.添加一个drawingarea控件的ExposeEvent信号(事件)rn 4**.出现问题了:在这个exposevent事件中Graphics类对象却不能成功创建。rnrn***有没有推荐书,或者其他资源可以参考参考?求学。
monodevelop 设置代码模板
有时在开发过程中想要快捷使用自定义的代码模板,现已monodevelop编辑器为例展示如何设置自定义的代码模板,方便快速插入模板。 以图片教程说明(简单粗暴)
ERP 理论、方法与实践【复习总结】下载
ERP 理论、方法与实践【复习总结】 ERP 理论、方法与实践【复习总结】 相关下载链接:[url=//download.csdn.net/download/faithstone/2469624?utm_source=bbsseo]//download.csdn.net/download/faithstone/2469624?utm_source=bbsseo[/url]
两款实用的文本编辑器下载
最近收藏的两款很好很实用的文本编辑器(ckeditor、kindeditor),就像邮箱写信那样的,仅供还不知道有哪些文本编辑器插件的童鞋参考学习。 相关下载链接:[url=//download.csdn.net/download/eddy0611/4485011?utm_source=bbsseo]//download.csdn.net/download/eddy0611/4485011?utm_source=bbsseo[/url]
专业综合课设报告下载
基于单片机的数码管应用,运用单片机实现数码管不同的控制以实现完成不同的发光方式 相关下载链接:[url=//download.csdn.net/download/u013759686/6955175?utm_source=bbsseo]//download.csdn.net/download/u013759686/6955175?utm_source=bbsseo[/url]
相关热词 c#检测非法字符 c#双屏截图 c#中怎么关闭线程 c# 显示服务器上的图片 api嵌入窗口 c# c# 控制网页 c# encrypt c#微信网页版登录 c# login 居中 c# 考试软件
我们是很有底线的