你好,我是Java小白,现在遇见了这个问题,有哪位大神可以帮我解决一下吗,感激不尽。

图片说明

10个回答

能说清楚一些吗,现在看不到什么错误信息呀

你这问题问的确实只有神能猜到

你把代码全部贴出来,然后加上你的疑惑 ,现在就这一句 我们谁也猜不出来

完全看不懂什么问题哦

这该怎么回答,猜一下,抽象类不能继承实体类

    不知道该说什么……           

把第二个extend换成,

接口只能继承接口,初步判断是你第二个extends出的问题,你的MybatisRespo..是个接口么?

我认为你应该说的是解释那句代码吧!
就是一个带参数的接口类BaseRepository继承了MybatisRepository。
里面的参数ID继承Serializable 就是让ID序列化啊

好像没看出什么问题,但是Java是单继承的

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
哪位大神可以解决一下,这个问题?
哪位大神可以解决一下,这个问题?在myeclipse中,没有安装tomcat,但是没有点击运行程序的run按钮时,总是出现这种情况,这是一位女同学问我的,求救啊。。。rn我只知道装了tomcat没配置好,会出现这种情况,但不知道不装tomcat怎么会出现这种情况?rn[img=https://img-bbs.csdn.net/upload/201403/04/1393903386_918435.jpg][/img]
有谁能帮我解决一下这个问题,我感激不尽!!!
1. studenttable:=mydata.dsstudent.dataset as tdbdataset; rn 2. gradetable:=mydata.dsgrade.dataset as tdbdataset; rn 3 .studenttable.close; rn 4 .studenttable.open; rn 5 .updrectypes:=[rtinserted];rn 6. studenttable.updaterecordtypes:=updrectypes;rnrnmydata 是 data module ,dsstudent 是 datasourcern1)行出错:rn信息如下:rnproject project1.exe raised exception class EAccessviolation rnwithmessage'Access violatio at address oo47E566module'project1' rnRead of address 00000050'.process stopped.use step or rum to continue. rn
有哪位大神遇到过这个问题的,帮我解决一下!!
在使用 MC9S12HY32 的单片机 的SCI 中断时提示 下面的错误:rnLink Error : L1100: Segments .absSeg333 (0xFF80) and .absSeg335 (0xFFD6) overlaprnrn中断服务程序代码:(这样写包上面的错误 )rn#pragma CODE_SEG NON_BANKEDrnvoid interrupt VectorNumber_Vsci recv(void)rn rn if(!LIN_GetChar()) rn rn Frame_Receive.Error = 1;rn Frame_Receive.State = IDLE;rn rn
我初学JAVA,现在遇上个问题。不知有哪位大哥哥能帮我解决一下。
我初学JAVA,现在遇上个问题。不知有哪位大哥哥能帮我解决一下。rn我的问题是:rn我建立了两个类。在一个类中建另一个类的对象。但是调用对象的方法时。却有错误rn不知道是什么原因。请各位高手帮我解决一下吧。我的类如下;rn第一个类:rnpackage querysystem;rnrnpublic class sightrn public String name;rn public int number;rn public String explain;rn public void getname(String inputname)rn name = inputname;rn rn public void getnumber(int inputnumber)rn number = inputnumber;rn rn public void gerexplain(String inputexplain)rn explain = inputexplain;rn rn rn第二个类:rnpackage querysystem;rnrnpublic class shortpathrn rn sight sightlist[] = new sight[10];rn public void main(String args[])rn rn public void initsightlist()rn for(int i=1;i<+10;i++)rn sightlist[i].getunmber(i);rn rn rn
哪位高手可以帮我解决一下这个问题吗?急!
当我调试程序的时候,总会在浏览器中出现:(无法找到脚本库/aspnet_client/system_web/1_1_4322/WebUIValdation.js.请尝试手动放置此文件,或通过运行aspnet_regiis -c重新安装.)当我找到这个文件并打开此文件,它完全是代码.请问我应该如何处理这个问题.rn谢谢了哈.
哪位大神帮我解决下这个问题
用java 把后面一堆的0给去掉,我的是从txt文档读出来的 很多这样的结构 都需要把0去掉 然后存成新的txt文档 rn谢谢大神们了rnrn015-05-22 09:13:27,847 [12] (c:\Users\Administrator\Desktop\GPS_设备服务器20\NET2_Common\JieShou\Jieshou_Socket.cs:214) INFO NET2_Common.JieShou.Jieshou_Socket [(null)] - 7E070400B70800401201390002000501002200000000000000030160CB020686F1E200430039006315052209090301040008A6AC002200000000000000030160CAE00686F28300430000006015052209093301040008A6AC002200000000000000030160CAC60686F2C600440016006315052209100301040008A6AC002200000000000000030160CA8B0686F44500460007005A15052209103301040008A6AC002200000000000000030160CA510686F58C00470048006015052209110301040008A6ACEA7E0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
有大神可以帮忙解决一下吗
Android使用CLE,初始化rn[img=https://img-bbs.csdn.net/upload/201906/23/1561257366_29432.jpg][/img]rn直接闪退不报错rn设了断点发现到这程序就中止了rnstarcore= StarCoreFactory.GetFactory()
哪位大神帮我一下
我用的是VS2008,C#,现在我将数据都放在datagrid中,但有的太长,我不想全部显示,当鼠标移过来的时候我用一个div全部显示。rnrnJS代码: rnrn rnCSS: .movedivrn border-top:#B5CAE2 1px solid;rn border-right:#7A93AC 1px solid;rn border-bottom:#698197 1px solid; rn border-left:#A7BFD5 1px solid; rn font-size:12px; rn background:#DBE5F3; rn width:250px; rn color:#272F3B; rnrn line-height:150%; rn PADDING:4px 6px; rn position:absolute; z-index:1;rn rnrnC#后台代码lbl_Principal.Attributes.Add("onmouseover", "javascript:this.style.cursor='hand';");rn lbl_Principal.Attributes.Add("onmousemove", "javascript:mousemove('" + ls_Principal + "');");rn lbl_Principal.Attributes.Add("onmouseout", "javascript:mouseout();");rnrn但是我但不调试的时候总显示document.documentElement.scrollTop,document.documentElement.scrollLeft为0 rndiv到不了合适的地方,谁能告诉我一下啊,急!!!!!!!!!!!!!!!!!!!rnrn
哪位有空的帮我解决一下这个问题!
错误提示如下:rn严重: action: nullrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Vrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1336)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)rn at org.springframework.web.struts.ContextLoaderPlugIn.createWebApplicationContext(ContextLoaderPlugIn.java:354)rn at org.springframework.web.struts.ContextLoaderPlugIn.initWebApplicationContext(ContextLoaderPlugIn.java:295)rn at org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:225)rn at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)rn at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)rn at javax.servlet.GenericServlet.init(GenericServlet.java:212)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)rn at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)rn at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:578)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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Vrn at net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:77)rn at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:173)rn at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)rn at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)rn at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)rn at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)rn at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)rn at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)rn at net.sf.cglib.proxy.Enhancer.(Enhancer.java:69)rn at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:117)rn at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)rn at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162)rn at org.hibernate.tuple.entity.AbstractEntityTuplizer.(AbstractEntityTuplizer.java:135)rn at org.hibernate.tuple.entity.PojoEntityTuplizer.(PojoEntityTuplizer.java:55)rn at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.(EntityEntityModeToTuplizerMapping.java:56)rn at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:295)rn at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:434)rn at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:109)rn at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)rn at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:226)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732)rn at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1367)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1333)rn ... 44 morern2008-10-6 20:20:54 org.apache.catalina.core.ApplicationContext logrn信息: Marking servlet action as unavailablern2008-10-6 20:20:54 org.apache.catalina.core.StandardContext loadOnStartuprn
急救!!! 哪位可以帮我解决一下这个问题
我刚学ASP 和 JAVASCRIPT ,但公司让我在页面上实现一个树型结构,希望大家能提供一些源码,或者告诉我该怎么做? 比如:点击"电器"在它下面显示"电视","冰箱"等等.
哪位高手可以帮我解决一下这个问题
这是我用C# 写的显示本机进程的代码 代码生成没有错误 但就是显示出内容为空 没有显示出进程rnrnnamespace lianxirnrn public partial class Form1 : Formrn rn public Form1()rn rn InitializeComponent();rn dataGridView1.AutoGenerateColumns = false;rn rnrn private void Form1_Load(object sender, EventArgs e)rn rn GetAllRunningProcess();rn rnrn private void GetAllRunningProcess()rn rn Process[] list = Process.GetProcesses();rn DataTable row = new DataTable();rn row.Columns.Add("Id", typeof(string));rn row.Columns.Add("ProcessName", typeof(string));rn row.Columns.Add("PhysicalMemory", typeof(string));rn row.Columns.Add("StartTime", typeof(string));rn row.Columns.Add("FileName", typeof(string));rn foreach (Process process in list)rn rn DataRow drow = row.NewRow();rn drow[0] = process.Id.ToString();rn drow[1] = process.ProcessName;rn drow[2] = (process.WorkingSet64 / 1024.0 / 1024).ToString() + "MB";rn tryrn rn drow[3] = process.StartTime.ToString();rn drow[4] = process.MainModule.FileName;rn rnrn catch(System.Exception e)rn rn drow[3] = "";rn drow[4] = "";rn rn row.Rows.Add(drow);rn rn dataGridView1.DataSource = row;rn rnrn private void btnStart_Click(object sender, EventArgs e)rn rn if (string.IsNullOrEmpty(textBoxProcessName.Text))rn rn MessageBox.Show("启动的进程名不能为空!");rn return;rn rnrn Process process = new Process();rn ProcessStartInfo startInfo = new ProcessStartInfo(textBoxProcessName.Text.Trim());rn process.StartInfo = startInfo;rn tryrn rn process.Start();rn rn catch (System.Exception ex)rn rn MessageBox.Show("启动失败!" + ex.Message);rn rn GetAllRunningProcess();rn rnrn private void btnStop_Click(object sender, EventArgs e)rn rn for (int i = 0; i < dataGridView1.Rows.Count; i++)rn rn string temp = dataGridView1.Rows[i].Cells["IsSelect"].FormattedValue.ToString();rn if (temp.Equals("True"))rn rn int id = int.Parse(dataGridView1.Rows[i].Cells[i].Value.ToString());rn Process process = Process.GetProcessById(id);rn tryrn rn process.CloseMainWindow();rn Thread.Sleep(1000);rn if (!process.HasExited)rn rn process.Kill();rn rn rnrn catch (System.Exception ex)rn rnrn rn rn rn GetAllRunningProcess();rn rn rnrnrnrn多谢了
我不会这个问题?哪位 帮我解决?
if exists(select * from dbo.sysobjects where id=object_id(N'dbo.MultipleThreeValue') rnand objectproperty(id,N'isprocedure')=1)rndrop procedure dbo.MultipleThreeValuerngorncreate procedure MultipleThreeValuern@number1 int,rn@number2 int,rn@number3 intrnasrnreturn @number1*@number2*@number3rndeclare @CountResult intrnexecute @CountResult=MultipleThreeValue 19,34,59rnselect '19乘34乘59=',@CountResultrn错误信息是:rn无法在 sysdepends 中添加当前存储过程所对应的行,因为缺少该存储过程所依赖的对象 'MultipleThreeValue'。仍将创建该存储过程。rn我要怎么样解决这个问题?
哪位高手能帮我解决一下,这个问题,急死我了
由于刚刚学java程序刚刚写了一半就有一个小问题都搞不定,请高手帮帮我.rn代码:rnimport java.io.*;rnimport java.awt.*;rnpublic class campusecardrnrn public static void main(String args[])rn rn card mycard=new card();rn int choice=0;rn while(true)rn rn choice=mycard.menu();rn switch(choice)rn rn case 1:rn mycard.changepassword();rn break;rn case 2:rn mycard.cardconsume();rn break;rn case 3:rn mycard.searchrecord();rn break;rn case 4:rn System.out.println("你的校园卡中剩余的金额为:"+mycard.showleftmoney());rn break;rn case 5:rn mycard.testsignup();rn break;rn case 6:rn mycard.borrowbooks();rn break;rn case 7:rn return;rn rn rn rnrnclass cardrnrn static final long number=1103101134;rn long password=123456;rn float leftmoney;rn boolean connected;rn int bookcount;rn card()rn rn leftmoney=50;rn connected=false;rn rn int menu()rn rn System.out.println("校园卡信息管理系统");rn System.out.println("===================");rn System.out.println("1.修改密码");rn System.out.println("2.消费");rn System.out.println("3.查询消费明细");rn System.out.println("4.余额查询");rn System.out.println("5.等级考试报名");rn System.out.println("6.图书借阅");rn System.out.println("7.退出");rn System.out.println("===================");rn System.out.println("请选择你的操作:");rn char c='A';rn tryrn c=(char)System.in.read();rn rn catch(IOException e)rn rn System.err.println(e.toString());rn rn int choice=c-'0';rn int count=0;rn while(choice>7||choice<1)rn rn count++;rn if(count==3)rn rn System.out.println("小样,你在捣蛋。");rn System.exit(0);rn rn System.out.println("小样,操作错误,请重新选择:");rn tryrn c=(char)System.in.read();rn catch(IOException e);rn choice=c-'0';rn rn return choice;rn rn void changepassword()//输入内容没有限制,需要改进rn rn String s2=new String();rn String s1=new String();rn int count=0;rn long number=0,number1=0,number2=0;rn System.out.println("请输入卡的当前密码:");rn tryrn InputStreamReader br=new InputStreamReader(System.in);rn BufferedReader in=new BufferedReader(br);rn L0:rn while(true)rn rn tryrn s1=in.readLine();rn number=Long.parseLong(s1);rn if(number!=password)rn rn System.out.println("密码错误,请重新输入.");rn count++;rn rn elsern break;rn if(count==3)rn rn System.out.println("小样,不要拿别人的卡当作自己的.");rn return;rn rn catch(NumberFormatException e)rn rn System.out.println("密码不能是非数字!请重试!");rn continue L0;rn rn break;rn rn catch(Exception e)rn rn System.out.println(e);rn rn tryrn Label1:rn while(true)rn rn System.out.println("请输入你的新密码:");rn InputStreamReader br=new InputStreamReader(System.in);rn BufferedReader inm=new BufferedReader(br);rn tryrn s1=inm.readLine();rn number1=Long.parseLong(s1);rn catch(NumberFormatException e)rn rn System.out.println("密码不能是非数字!请重试!");rn continue Label1;rn rn break;rn rn catch(Exception e)rn rn System.out.println(e);rn rn System.out.println("请再次输入你的新密码:");rn tryrn rn L2:rn while(true)rn rn InputStreamReader br=new InputStreamReader(System.in);rn BufferedReader inn=new BufferedReader(br);rn tryrn s2=inn.readLine();rn number2=Long.parseLong(s2);rn catch(NumberFormatException e)rn rn System.out.println("密码不能是非数字!请重试!");rn continue L2;rn rn break;rn rn catch(Exception e)rn rn System.out.println(e);rn rn if(number1!=number2)rn System.out.println("输入密码不一致,请重新输入.");rn elsern rn password=number1;rn System.out.println("修改密码成功!");rn return;rn rn rn void cardconsume()rn rn float consumemoney=0;rn String s="";rn tryrn InputStreamReader br=new InputStreamReader(System.in);rn BufferedReader is=new BufferedReader(br);rn L3:rn while(true)rn rn System.out.println("请输入你消费金额:");rn tryrn rn BufferedReader in=new BufferedReader(new InputStreamReader(System.in));rn s=is.readLine();rn consumemoney=Float.parseFloat(s);rn catch(NumberFormatException e)rn rn System.out.println("输入的不是数字,请重新输入。");rn continue L3;rn ;rn break;rn rn catch(Exception e)rn rn System.out.println(e);rn rn if(consumemoney>leftmoney)rn System.out.println("卡中余额不足!");rn elsern rn leftmoney-=consumemoney;rn System.out.println("你消费了"+s+"元.");rn rnrn rn float showleftmoney()rn rn return leftmoney;rn rn void searchrecord()rn rn rn void testsignup()rn rn rn void borrowbooks()rn rn int number;rn String name;rn System.out.println("请输入书的名字:");rn tryrn rn BufferedReader in=new BufferedReader(new InputStreamReader(System.in));rn name=in.readLine();rn catch(IOException e);rn System.out.println("请输入书的条码号:");rn rnrn运行界面:rn校园卡信息管理系统rn===================rn1.修改密码rn2.消费rn3.查询消费明细rn4.余额查询rn5.等级考试报名rn6.图书借阅rn7.退出rn===================rn请选择你的操作:rn1rn请输入卡的当前密码:rn密码不能是非数字!请重试!rn请输入卡的当前密码:rnrnrn问题就在这里,我刚刚输入1就显示了错误信息(密码我还没有输呢)rn为什么啊rn郁闷中
大家能帮我解决一下这个问题吗?
rnVisual Studio .NET 已检测到指定的 Web 服务器运行的不是 ASP.NET 1.1 版。您将无法运行 ASP.NET Web 应用程序或服务。
哪位大神可以帮我讲解一下这个vb程序啊 ,感激不尽
With ActiveDocument.PageSetupn .LineNumbering.Active = Falsen .Orientation = wdOrientPortraitn .TopMargin = InchesToPoints(0.8)n .BottomMargin = InchesToPoints(0.8)n .LeftMargin = InchesToPoints(0.8)n .RightMargin = InchesToPoints(0.8)n .Gutter = InchesToPoints(0)n .HeaderDistance = InchesToPoints(0.5)n .FooterDistance = InchesToPoints(0.5)n .PageWidth = InchesToPoints(8.5)n .PageHeight = InchesToPoints(11)n .FirstPageTray = wdPrinterDefaultBinn .OtherPagesTray = wdPrinterDefaultBinn .SectionStart = wdSectionNewPagen .OddAndEvenPagesHeaderFooter = Falsen .DifferentFirstPageHeaderFooter = Falsen .VerticalAlignment = wdAlignVerticalTopn .SuppressEndnotes = Falsen .MirrorMargins = Falsen .TwoPagesOnOne = Falsen .GutterPos = wdGutterPosLeftn End Withnn Selection.Sections(1).Headers(1).PageNumbers.Add PageNumberAlignment:= _n wdAlignPageNumberRight, FirstPage:=Truenn Dim quote As Stringn Dim Keyword As Stringn Dim j As Integern quote = """"n Dim found_key As Booleann Dim startSearch As Longn Dim endSearch As Longnn Close #1n Open "C:\Users\shuqi\Desktop\新建文本文档.txt" For Input As #1nn Set myRange = ActiveDocument.Contentnn j = 0n Do While Not EOF(1) ' Loop until end of file.n Set myRange = ActiveDocument.Contentn endSearch = myRange.Endnn Input #1, Keywordnn j = 0nn With myRange.Findn .Text = Keywordn .Forward = Truen .MatchWholeWord = Truen .MatchCase = Falsen End Withnn While myRange.Find.Executen myRange.Collapse wdCollapseEndn Set myIndexEntry = myRange.Fields.Add(myRange, Type:=wdFieldIndexEntry, _n Text:=quote & Keyword & quote)nnn startSearch = myRange.Endn startSearch = startSearch + 7n Set myRange = ActiveDocument.Contentn myRange.Start = startSearchnn If startSearch = endSearch - 1 Thenn GoTo skip_whilen End Ifnn With myRange.Findn .Text = Keywordn .Forward = Truen .MatchWholeWord = Truen .MatchCase = Falsen End Withnn ' this code is because I had a loop heren j = j + 1n If j = 300 Thenn myRange.Bold = Truen Exit Don End Ifnn Wendnnskip_while:nn Loopnn Close #1 ' Close file.nn myRange.Start = 0n myRange.End = 0n With ActiveDocumentn .Indexes.Add Range:=myRange, HeadingSeparator:= _n wdHeadingSeparatorNone, Type:=wdIndexIndent, RightAlignPageNumbers:= _n True, NumberOfColumns:=1, IndexLanguage:=wdEnglishUSn .Indexes(1).TabLeader = wdTabLeaderDotsnn End Withnnn End Subn
谁可以帮我解决一下这个问题吗?
rnJava Plug-in 1.6.0_13rn使用 JRE 版本 1.6.0_13 Java HotSpot(TM) Client VMrn用户主目录 = C:\Documents and Settings\Administrator.566126E5089D4FErn----------------------------------------------------rnc: 清除控制台窗口rnf: 终结在结束队列上的对象rng: 垃圾收集rnh: 显示此帮助消息rnl: 转储类载入程序列表rnm: 打印内存使用rno: 触发日志记录rnq: 隐藏控制台rnr: 重新载入策略配置rns: 转储系统和部署属性rnt: 转储线程列表rnv: 转储线程堆栈rnx: 清除类载入程序高速缓存rn0-5: 设置跟踪级别为rn----------------------------------------------------rnrnrn载入:找不到类 sun.thread.MainFrame.class。rnjava.lang.ClassNotFoundException: sun.thread.MainFrame.classrn at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)rn at java.lang.ClassLoader.loadClass(Unknown Source)rn at java.lang.ClassLoader.loadClass(Unknown Source)rn at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)rn at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)rn at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnCaused by: java.io.IOException: open HTTP connection failed:http://localhost:8080/Thread1/sun/thread/MainFrame/class.classrn at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)rn at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)rn at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)rn at java.security.AccessController.doPrivileged(Native Method)rn ... 7 morern异常:java.lang.ClassNotFoundException: sun.thread.MainFrame.classrn载入:找不到类 sun.thread.CurrentTimeThread.class。rnjava.lang.ClassNotFoundException: sun.thread.CurrentTimeThread.classrn at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)rn at java.lang.ClassLoader.loadClass(Unknown Source)rn at java.lang.ClassLoader.loadClass(Unknown Source)rn at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)rn at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)rn at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnCaused by: java.io.IOException: open HTTP connection failed:http://localhost:8080/Thread1/sun/thread/CurrentTimeThread/class.classrn at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)rn at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)rn at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)rn at java.security.AccessController.doPrivileged(Native Method)rn ... 7 morern异常:java.lang.ClassNotFoundException: sun.thread.CurrentTimeThread.classrn载入:找不到类 sun.thread.MainFrame.class。rnjava.lang.ClassNotFoundException: sun.thread.MainFrame.classrn at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)rn at java.lang.ClassLoader.loadClass(Unknown Source)rn at java.lang.ClassLoader.loadClass(Unknown Source)rn at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)rn at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)rn at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnCaused by: java.io.IOException: open HTTP connection failed:http://localhost:8080/Thread1/sun/thread/MainFrame/class.classrn at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)rn at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)rn at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)rn at java.security.AccessController.doPrivileged(Native Method)rn ... 7 morern异常:java.lang.ClassNotFoundException: sun.thread.MainFrame.classrn载入:找不到类 sun.thread.MainFrame.class。rnjava.lang.ClassNotFoundException: sun.thread.MainFrame.classrn at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)rn at java.lang.ClassLoader.loadClass(Unknown Source)rn at java.lang.ClassLoader.loadClass(Unknown Source)rn at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)rn at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)rn at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnCaused by: java.io.IOException: open HTTP connection failed:http://localhost:8080/Thread1/sun/thread/MainFrame/class.classrn at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)rn at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)rn at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)rn at java.security.AccessController.doPrivileged(Native Method)rn ... 7 morern异常:java.lang.ClassNotFoundException: sun.thread.MainFrame.classrn
哪位大神帮我注释一下
$(function () rnrn $("#category").change(function () rn $.get("/MyForm/GetExpenseList", pid: $(this).children('option:selected').val() , function (data, status) rn $("#formType").html(data);rnrn )rn );rnrnrn var table = $('.listtable2').DataTable(rn "processing": true,rn "serverSide": true,rn "bInfo": false,rn searching: false,rn pageLength: 12,rn lengthChange: false,rn columnDefs: [rn orderable: false,//禁用排序rn targets: [0] //指定的列rn ],rn "order": [],rn "ajax": "@Url.Action("GetAllApprovedFormList")?" + $(".indexform").serialize(),rn columns: [rn data: 'temp_0' rn , data: 'temp_1' rn , data: 'temp_2' rn , data: 'temp_3' rn , data: 'temp_4' rn , data: 'temp_5' rn , data: 'temp_6' rn , data: 'temp_7' rn ]rn );rnrn $("#this_cmd_search").click(function () rn table.ajax.url("@Url.Action("GetAllApprovedFormList")?" + $(".indexform").serialize()).load();rn );rnrn );rn
我是刚入公司的新人,遇到了一些问题,有大神可以指教一下吗
现在我需要在一个iframe里边嵌一个网址,然后这个网址是https://......,我现在这个iframe所在的地址和要访问的也不是同一个域,然后它报下边这个错误,也访问不到页面。rnrnLoad denied by X-Frame-Options: https://10.... does not permit cross-origin framing.rnrn这是因为要访问的网址设置不允许被嵌入到iframe中的意思吗,有什么解决方案吗rnrn
有哪位大神可以帮我解释一下这段代码吗?
//============================================================================rn// Name : KinectTouch.cpprn// Author : github.com/robbeofficialrn// Version : 0.somethingrn// Description : recognizes touch points on arbitrary surfaces using kinectrn// and maps them to TUIO cursorsrn// (turns any surface into a touchpad)rn//============================================================================rnrn*rn * 1. point your kinect from a higher place down to your tablern * 2. start the program (keep your hands off the table for the beginning)rn * 3. use your table as a giant touchpadrn */rnrn#include rn#include rn#include rnusing namespace std;rnrn// openCVrn#include rn#include rnusing namespace cv;rnrn// openNIrn#include rn#include rnusing namespace xn;rn#define CHECK_RC(rc, what) \rn if (rc != XN_STATUS_OK) \rn \rn printf("%s failed: %s\n", what, xnGetStatusString(rc)); \rn return rc; \rn rnrn// TUIOrn#include "TUIO/TuioServer.h"rnusing namespace TUIO;rnrn// TODO smoothing using kalman filterrnrn//---------------------------------------------------------------------------rn// Globalsrn//---------------------------------------------------------------------------rnrn// OpenNIrnxn::Context xnContext;rnxn::DepthGenerator xnDepthGenerator;rnxn::ImageGenerator xnImgeGenertor;rnrnbool mousePressed = false;rnrn//---------------------------------------------------------------------------rn// Functionsrn//---------------------------------------------------------------------------rnrnint initOpenNI(const XnChar* fname) rn XnStatus nRetVal = XN_STATUS_OK;rnrn // initialize contextrn nRetVal = xnContext.InitFromXmlFile(fname);rn CHECK_RC(nRetVal, "InitFromXmlFile");rnrn // initialize depth generatorrn nRetVal = xnContext.FindExistingNode(XN_NODE_TYPE_DEPTH, xnDepthGenerator);rn CHECK_RC(nRetVal, "FindExistingNode(XN_NODE_TYPE_DEPTH)");rnrn // initialize image generatorrn nRetVal = xnContext.FindExistingNode(XN_NODE_TYPE_IMAGE, xnImgeGenertor);rn CHECK_RC(nRetVal, "FindExistingNode(XN_NODE_TYPE_IMAGE)");rnrn return 0;rnrnrnvoid average(vector& frames, Mat1s& mean) rn Mat1d acc(mean.size());rn Mat1d frame(mean.size());rnrn for (unsigned int i=0; i Mat1s;rn Mat1b depth8(480, 640); // 8 bit depth // typedef Mat_ Mat1b;rn //Mat3b rgb(480, 640); // 8 bit depth // typedef Mat_ Mat3b;rnrn Mat3b debug(480, 640); // debug visualization //rnrn Mat1s foreground(640, 480);rn Mat1b foreground8(640, 480);rnrn Mat1b touch(640, 480); // touch maskrnrn Mat1s background(480, 640);rn vector buffer(nBackgroundTrain);rnrn initOpenNI("niConfig.xml");rnrn //// TUIO server objectrn //TuioServer* tuio;rn //if (localClientMode) rn // tuio = new TuioServer();rn // else rn // tuio = new TuioServer("192.168.0.2",3333,false);rn //rn //TuioTime time;rnrn // create some slidersrn /*namedWindow(windowName);rn createTrackbar("xMin", windowName, &xMin, 640);rn createTrackbar("xMax", windowName, &xMax, 640);rn createTrackbar("yMin", windowName, &yMin, 480);rn createTrackbar("yMax", windowName, &yMax, 480);*/rnrn // create background model (average depth)rn for (unsigned int i=0; i touchDepthMin) & (foreground < touchDepthMax);rnrn // extract ROIrn Rect roi(xMin, yMin, xMax - xMin, yMax - yMin);rn Mat touchRoi = touch(roi);rnrn // find touch pointsrn vector< vector > contours;rn vector touchPoints;rn findContours(touchRoi, contours, CV_RETR_LIST, CV_CHAIN_APPROX_SIMPLE, Point2i(xMin, yMin));rn for (unsigned int i=0; i touchMinArea ) rn Scalar center = mean(contourMat);rn Point2i touchPoint(center[0], center[1]);rn touchPoints.push_back(touchPoint);rn rn rnrn // send TUIO cursorsrn time = TuioTime::getSessionTime();rn tuio->initFrame(time);rnrn for (unsigned int i=0; igetClosestTuioCursor(cursorX,cursorY);rn // TODO improve tracking (don't move cursors away, that might be closer to another touch point)rn if (cursor == NULL || cursor->getTuioTime() == time) rn tuio->addTuioCursor(cursorX,cursorY);rn else rn tuio->updateTuioCursor(cursor, cursorX, cursorY);rn rn rnrn tuio->stopUntouchedMovingCursors();rn tuio->removeUntouchedStoppedCursors();rn tuio->commitFrame();rnrn // draw debug framern depth.convertTo(depth8, CV_8U, 255 / debugFrameMaxDepth); // render depth to debug framern cvtColor(depth8, debug, CV_GRAY2BGR);rn debug.setTo(debugColor0, touch); // touch maskrn rectangle(debug, roi, debugColor1, 2); // surface boundariesrn for (unsigned int i=0; i
有高手吗,帮我解决一下这个问题好吗
package untitled1;rnrnimport java.awt.*;rnimport java.awt.event.*;rnimport java.applet.*;rnimport borland.jbcl.layout.*;rnrn//import com.sun.java.swing.UIManager;rnpublic class Applet1 extends Applet rn boolean isStandalone = false;rn GridBagLayout gridBagLayout1 = new GridBagLayout();rn GridBagConstraints con=new GridBagConstraints();rn XYLayout xYLayout1 = new XYLayout();rn TextField textField1 = new TextField();rn Label label1 = new Label();rnrn rn public Applet1() rn rn rn public void init() rn try rn jbInit();rn rn catch (Exception e) rn e.printStackTrace();rn rn rnrn rn private void jbInit() throws Exception rn textField1.setText("textField1");rn label1.setText("label1");rn this.setLayout(xYLayout1);rn con.weightx=1;rn con.weighty=2;rn this.add(textField1, new XYConstraints(193, 56, -1, -1));rn this.add(label1, new XYConstraints(55, 56, -1, -1));rnrnrn rnrn public String getAppletInfo() rn return "Applet Information";rn rn public String[][] getParameterInfo() rn return null;rn rnrnrn帮我运行一下,为什么在浏览器中无法运行啊,解决这个问题好没
关于触发器有哪位大神可以解救一下吗
表lin 有列gan kaka boom nima 现在想写一个触发器,不论是插入新纪录还是修改gan列,都会讲用户指定的gan列的值转换为大写。rncreate or replace trigger trilin rnafter insert or updaternon lin rnfor each rowrnbeginrnif inserting thenrnupdate lin set gan = upper(gan) where gan = :new.gan;rnelsif updating(gan) thenrnupdate lin set gan = upper(gan) where gan = :old.gan;rnend if;rnend trilin;rn/rnrn我这么写一直报错,要声明updating后面的标识符gan
求大神指教,小白感激不尽
#include n#include nusing namespace std;nint main()nn ofstream outf("test.dat");n char p[]="I am a student";n outf<>p;n cout<
有哪位高手帮我解决一下难题!!!
网页中RadioButtonList控件与数据表中的bit型字段绑定,如何添加代码才能实现绑定?
有可以帮我解决这个问题的吗??谢谢啦
[img=https://img-bbs.csdn.net/upload/201612/31/1483154609_500104.png][/img]
帮我解决一下这个问题
如何通过把index.htm中code3的的值在window.open的时候传递到text.htm中的code3rnrnrnindex.htmrn rn rnrnrnrnrn'text.htmrn rn rnrnrn
我是菜鸟,谁能帮我解决一下这个问题啊?
我的电脑启动后就什么都动不了了,重启过很多次,仍然如此,不知是什么原因,前些日子360说有危险插件,我就删掉了,共删过两次,好象都是迅雷的,我一直在用”迅雷看看”看电影,当时并没太在意,删了以后发现电脑经常出现EXPLORER遇到问题需要关闭的状况,这是不是证明我删的插件引起的?现在电脑根本不能运行了,我该怎么解决,曾经想试着把迅雷删除,结果发现安全模式根本进不去,哪位大侠有办法帮忙,小女子跪谢啦~rn
我是新手,请高手帮我解决一下这个问题!
数据段中定义了一个有N个字数据的数组M,求出M中绝对值最大的数,并显示.rnrnrnrn 这个用汇编怎么编,请高手解答一下!
帮我解决一下这个问题?
我在win2k上装的php,可是session老出问题,能帮我看看什么原因,我把iis设置过了写入。下面是出错信息。rnrnWarning: open(/tmp\sess_f008f5d7380736f236180878fc122e26, O_RDWR) failed: m (2) in C:\Inetpub\wwwroot\almui\default.php on line 2rn
如有大神帮我解决难题 定感激不尽
课程设计rn①从文件中读入20位学生英语、体能、治安学三门课的成绩(每名学生成绩信息均包括姓名,学号,分数)。 rn②编写查询函数,实现输入学生学号,输出该学生三门课的成绩的功能。rn③编写排序函数,采用冒泡法,将学生总成绩成绩按照从高到低进行排序,排序由排序函数实现,在主函数中调用实现排序,并在主函数中输出排序后的成绩单(要求用指针实现参数传递)。rn④编写插入函数,实现再输入一个学生三门课的成绩,将此学生总成绩按照排序规律插入原学生成绩数组。rn⑤将排好序的成绩单进行反序存放,即原来是总成绩从高到低,现在改为从低到高排列。rn ⑥将以上程序结果打印输出,验证程序是否正确实现题目要求。rn⑦在项目报告中画出程序流程图,说明程序设计的算法,附主要程序段。rn⑧在项目报告中说明程序设计过程中的难点、解决办法及编程小结或体会。rn
我在编写图形转换组件时遇见了一些,问题。帮我解决一下好么?
不能实现图形转换功能给我邮件我给源码我的邮件是rnwhpapa@yeah.net
哪位大神给解决一下
各位大神eclipse工具栏变宽了怎么修改回来,求告知!!
有哪位可以帮我描述一下VBA是什么东东吗?
有哪位可以帮我描述一下VBA是什么东东吗?rnrn有没有例子呀?
哪位大神帮我看一下这个问题啊
哪位大神帮我看一下这个问题啊 ,我做了类似的四个窗体 其他的都没有出错 唯独这个出错了 谁能帮我解决一下啊 [img=https://img-bbs.csdn.net/upload/201308/14/1376485803_898529.png][/img][img=http://]
各路大神,可以帮我指出究竟是什么错误吗,感激不尽
2013-4-7 14:25:35 org.apache.catalina.core.AprLifecycleListener initrn信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\myeclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;E:\Tomcat\Apache Software Foundation\Tomcat 6.0\binrn2013-4-7 14:25:36 org.apache.catalina.core.JasperListener lifecycleEventrn警告: Couldn't initialize Jasperrnjava.lang.NoClassDefFoundError: org/apache/jasper/util/SystemLogHandlerrn at java.lang.Class.forName0(Native Method)rn at java.lang.Class.forName(Class.java:247)rn at org.apache.catalina.core.JasperListener.lifecycleEvent(JasperListener.java:63)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)rn at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:813)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:538)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:562)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: java.lang.ClassNotFoundException: org.apache.jasper.util.SystemLogHandlerrn 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:307)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:252)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn ... 13 morern2013-4-7 14:25:37 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2013-4-7 14:25:37 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 3876 msrn2013-4-7 14:25:37 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2013-4-7 14:25:37 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.35rn2013-4-7 14:25:37 org.apache.catalina.startup.HostConfig deployDescriptorrn信息: Deploying configuration descriptor host-manager.xmlrn2013-4-7 14:25:39 org.apache.catalina.core.ApplicationContext logrn信息: Marking servlet jsp as unavailablern2013-4-7 14:25:39 org.apache.catalina.core.StandardContext loadOnStartuprn严重: Servlet /host-manager threw load() exceptionrnjava.lang.ClassNotFoundException: org.apache.commons.logging.LogFactoryrn 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:307)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:252)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn at org.apache.jasper.servlet.JspServlet.(JspServlet.java:58)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:513)rn at java.lang.Class.newInstance0(Class.java:355)rn at java.lang.Class.newInstance(Class.java:308)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1149)rn at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)rn at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)rn at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)rn at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)rn at org.apache.catalina.core.StandardService.start(StandardService.java:525)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:595)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rn2013-4-7 14:25:39 org.apache.tomcat.util.modeler.Registry registerComponentrn严重: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/host-manager,J2EEApplication=none,J2EEServer=nonern2013-4-7 14:25:39 org.apache.catalina.startup.HostConfig deployDescriptorrn信息: Deploying configuration descriptor manager.xmlrn2013-4-7 14:25:39 org.apache.catalina.core.ApplicationContext logrn信息: Marking servlet jsp as unavailablern2013-4-7 14:25:39 org.apache.catalina.core.StandardContext loadOnStartuprn严重: Servlet /manager threw load() exceptionrnjava.lang.NoClassDefFoundError: Could not initialize class org.apache.jasper.servlet.JspServletrn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:513)rn at java.lang.Class.newInstance0(Class.java:355)rn at java.lang.Class.newInstance(Class.java:308)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1149)rn at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)rn at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)rn at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)rn at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)rn at org.apache.catalina.core.StandardService.start(StandardService.java:525)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:595)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rn2013-4-7 14:25:39 org.apache.tomcat.util.modeler.Registry registerComponentrn严重: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/manager,J2EEApplication=none,J2EEServer=nonern2013-4-7 14:25:39 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory docsrn2013-4-7 14:25:39 org.apache.catalina.core.ApplicationContext logrn信息: Marking servlet jsp as unavailablern2013-4-7 14:25:39 org.apache.catalina.core.StandardContext loadOnStartuprn
可以帮我一下吗?
我自己编了一段代码,这段代码的意思是如果哪个单选按钮被选中,那么文本框就显示选中的选项:rn rn rn >rn arn brn crn drnrn现在我想把这段代码改一下,就是如果哪个按钮被选中了,上面abcd哪个字母就变成红色
哪位大神帮我解决myeclipse10问题
[img=https://img-bbs.csdn.net/upload/201611/29/1480400581_947302.png][/img]
有API可以解决这个问题吗?
有一个文件夹,里面保存一个VB6的工程和窗体,然后通过一个判断程序,判断这个工程的窗体上摆放了什么控件及控件的属性,还能查看空间相关代码。请问是API实现的吗?
有可以解决这个问题的吗?
我现在服务器上安装了一个tomcat,在webapps下面放了一个web工程,我一般用http://xxx.xxx.xxx.xxx:8080/webxxx/index.jsp来访问它,首先我的tomcat存在一个不安全的问题,如果http://xxx.xxx.xxx.xxx:8080这样访问的话可以进入到我的里面,后来我设了密码不知道还有没有隐患,如果有知道tomcat安全方面的请告诉我怎么设置,第二个问题就是我能不能用IIS和tomcat一起使用,如何使用,小弟感激不尽。
可以帮我测试一下这个控件吗
我自己做了一个用户自定义控件,用来封装dsoframer这个控件的,但是在测试的时候就报错rn未处理的“System.ArgumentException”类型的异常出现在 UserControlTestContainer.exe 中rn其他信息: 未能找到程序集“D:\C#%E7%BB%83%E4%B9%A0%5CWinDsoframer%5CWinDsoframer%5Cobj%5CDebug%5CWinDsoframer.dll”。请确保路径正确。rnrn引用程序集那些都没有问题的
哪位大神帮我看看这个跨域的问题怎么解决?
![图片说明](https://img-ask.csdn.net/upload/201709/18/1505703949_579853.png)
相关热词 c++和c#哪个就业率高 c# 批量动态创建控件 c# 模块和程序集的区别 c# gmap 截图 c# 验证码图片生成类 c# 再次尝试 连接失败 c#开发编写规范 c# 压缩图片好麻烦 c#计算数组中的平均值 c#获取路由参数