myeclipse ctrl+F11运行出错

myeclipse2014,之前有配置过javafx,现在不管什么项目ctrl+F11都报错:Exception in thread "main" java.lang.IllegalArgumentException: expected file name as argument at com.sun.javafx.css.parser.Css2Bin.main(Css2Bin.java:44)
但是右键run as java application 又可以正常运行,请问要怎么设置,ctrl+F11才能正常运行

1个回答

图片说明

进你的myeclipse的配置里的General的keys里面找一下你的ctrl+f11默认的运行方式是不是run as java application ,我这里的不是,你那里应该也不是,改成你需要的默认运行方式即可。

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
myeclipse下struts的运行出错
运行例子后发现有如下错误提示,不知道是什么原因:rnusage: java org.apache.catalina.startup.Catalina [ -config pathname ] [ -nonaming ] start | stop rn2010-3-16 23:21:18 org.apache.coyote.http11.Http11AprProtocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2010-3-16 23:21:18 org.apache.coyote.ajp.AjpAprProtocol initrn信息: Initializing Coyote AJP/1.3 on ajp-8009rn2010-3-16 23:21:18 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 1328 msrn2010-3-16 23:21:18 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2010-3-16 23:21:18 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/5.5.17rn2010-3-16 23:21:18 org.apache.catalina.core.StandardHost startrn信息: XML validation disabledrn2010-3-16 23:21:19 org.apache.catalina.core.StandardContext listenerStartrn严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListenerrnjava.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListenerrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3677)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)rn at org.apache.catalina.core.StandardService.start(StandardService.java:450)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:551)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:294)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)rn2010-3-16 23:21:19 org.apache.catalina.core.StandardContext listenerStartrn严重: Skipped installing application listeners due to previous error(s)rn2010-3-16 23:21:19 org.apache.catalina.core.StandardContext startrn严重: Error listenerStartrn2010-3-16 23:21:19 org.apache.catalina.core.StandardContext startrn严重: Context [/Struts2] startup failed due to previous errorsrn2010-3-16 23:21:20 org.apache.coyote.http11.Http11AprProtocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2010-3-16 23:21:20 org.apache.coyote.ajp.AjpAprProtocol startrn信息: Starting Coyote AJP/1.3 on ajp-8009rn2010-3-16 23:21:20 org.apache.catalina.storeconfig.StoreLoader loadrn信息: Find registry server-registry.xml at classpath resourcern2010-3-16 23:21:20 org.apache.catalina.startup.Catalina startrn信息: Server startup in 2156 msrn2010-3-16 23:23:50 org.apache.catalina.startup.HostConfig checkResourcesrn信息: Reloading context [/Struts2]rn2010-3-16 23:23:50 org.apache.catalina.core.StandardContext stoprn信息: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/Struts2] has not been startedrn2010-3-16 23:23:50 org.apache.struts.action.ActionServlet initChainrn信息: Loading chain catalog from jar:file:/G:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/Struts2/WEB-INF/lib/struts-core-1.3.8.jar!/org/apache/struts/chain/chain-config.xmlrnrnrn
myeclipse ctrl+F11运行出错
myeclipse2014,之前有配置过javafx,现在不管什么项目ctrl+F11都报错:Exception in thread "main" java.lang.IllegalArgumentException: expected file name as argument at com.sun.javafx.css.parser.Css2Bin.main(Css2Bin.java:44)n但是右键run as java application 又可以正常运行,请问要怎么设置,ctrl+F11才能正常运行
myeclipse配置tomcat,运行出错
2010-1-11 17:21:45 org.apache.catalina.core.AprLifecycleListener lifecycleEventrn信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_11\bin;C:\Tomcat 5.5\binrn2010-1-11 17:21:45 org.apache.coyote.http11.Http11BaseProtocol initrn信息: 初始化 Coyote HTTP/1.1:http-80rn2010-1-11 17:21:45 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 532 msrn2010-1-11 17:21:45 org.apache.catalina.core.StandardService startrn信息: 启动Catalina服务rn2010-1-11 17:21:45 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/5.5.20rn2010-1-11 17:21:45 org.apache.catalina.core.StandardHost startrn信息: XML文件的有效性检测被停用rnlog4j:WARN No appenders could be found for logger (org.apache.catalina.startup.TldConfig).rnlog4j:WARN Please initialize the log4j system properly.rn2010-1-11 17:21:46 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2010-1-11 17:21:46 org.apache.catalina.core.StandardContext startrn严重: 因为前面的错误无法启动上下文rn2010-1-11 17:21:47 org.apache.coyote.http11.Http11BaseProtocol startrn信息: 启动 Coyote HTTP/1.1:http-80rn2010-1-11 17:21:47 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2010-1-11 17:21:47 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/47 config=nullrn2010-1-11 17:21:47 org.apache.catalina.storeconfig.StoreLoader loadrn信息: Find registry server-registry.xml at classpath resourcern2010-1-11 17:21:47 org.apache.catalina.startup.Catalina startrn信息: Server startup in 2140 msrnrnrnrn2010-1-11 17:21:46 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2010-1-11 17:21:46 org.apache.catalina.core.StandardContext startrn严重: 因为前面的错误无法启动上下文 rnrn该怎样解决,大侠们救救急啊!rn
用MyEclipse运行jsp出错
[img=https://img-bbs.csdn.net/upload/201707/18/1500349631_280767.png][/img]rn[img=https://img-bbs.csdn.net/upload/201707/18/1500349645_286753.png][/img]rn[img=https://img-bbs.csdn.net/upload/201707/18/1500349681_972765.png][/img]rn[img=https://img-bbs.csdn.net/upload/201707/18/1500349699_394109.png][/img]rn[img=https://img-bbs.csdn.net/upload/201707/18/1500349733_435380.png][/img]rn[img=https://img-bbs.csdn.net/upload/201707/18/1500349747_398783.png][/img]rn[img=https://img-bbs.csdn.net/upload/201707/18/1500349785_518954.jpg][/img]
菜鸟求教Myeclipse 运行出错
rn[code=java]package feibonaqie;rnrnpublic class Feibonaqie rn public static void main(String[] args)rn int[] arr=new int[20];rn arr[0]=arr[1]=1;rn for(int i=2;i<=arr.length;i++)rn arr[i]=arr[i-1]+arr[i-2];rn rn System.out.println("前20项");rn for(int i=0;i<=arr.length;i++)rn if(i%5==0)rn System.out.println();rn rn rn rn rn rn rnrnrn[/code]rn[img=https://img-bbs.csdn.net/upload/201709/14/1505393929_608695.png][/img]rnrn
CTRL键出错?
最近不知道为什么,呵rn按CTRL就会出现各种怪情况,按几下就会出现无声,或者待机等各种奇怪现象rn有谁能解决的,帮帮忙吧,呵!?
myEclipse 按住ctrl 无下划线
myEclipse 按住ctrl 无下划线rn新建项目 可以rn从svn上下下来的 就不行 怎么回事呀?
一个难题,自动运行F11
如何在窗口打开时候自动运行f11键rn跟在浏览器里按f11(全屏)一样
MyEclipse中运行Struts2框架出错
错误代码:严重: Exception starting filter struts2 Unable to load configuration. - bean - jar:file:/D:/Libs/Apache-tomcat/apache-tomcat-9.0.0.M11forMyeclipse/apache-tomcat-9.0.0.M11/webapps/j2ee_5/WEB-INF/lib/
myeclipse基于struts框架web项目运行出错 求解
2013-10-23 22:22:47 org.apache.catalina.core.AprLifecycleListener initrn信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\MyEclipse 6.5\bin;D:\MyEclipse 6.5\myeclipse\eclipse\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_6.5.0.zmyeclipse650200806\tomcat\binrn2013-10-23 22:22:47 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2013-10-23 22:22:47 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 619 msrn2013-10-23 22:22:47 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2013-10-23 22:22:47 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.13rn2013-10-23 22:22:48 org.apache.catalina.core.StandardContext filterStartrn严重: Exception starting filter Struts2rnjava.lang.ClassNotFoundException: org.apache.struts.dispatcher.FilterDispatcherrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:249)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)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:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)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:566)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)rn2013-10-23 22:22:48 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2013-10-23 22:22:48 org.apache.catalina.core.StandardContext startrn严重: Context [/Struts2] startup failed due to previous errorsrn2013-10-23 22:22:49 org.apache.catalina.core.StandardContext filterStartrn严重: Exception starting filter StrutsDemornjava.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.FilterDispatcherrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:249)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)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:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)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:566)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)rn2013-10-23 22:22:49 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2013-10-23 22:22:49 org.apache.catalina.core.StandardContext startrn严重: Context [/StrutsDemo] startup failed due to previous errorsrn2013-10-23 22:22:49 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2013-10-23 22:22:49 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2013-10-23 22:22:49 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/45 config=nullrn2013-10-23 22:22:49 org.apache.catalina.startup.Catalina startrn信息: Server startup in 1884 msrn
[求救]MyEclipse导入Web工程,运行出错???
我将一本Java Web开发书籍光盘的例子导入到MyEclipse中,并修改.project文件使MyEclipse可识别的Web工程。rn当我 Run as MyEclipse Server Appication 出现错误:rnAn internal error occurred during: "Launching netshop on MyEclipse Tomcat ".rnrnrnjava.lang.NullPointerExceptionrn at org.eclipse.core.runtime.Path.(Path.java:153)rn at com.genuitec.eclipse.ast.deploy.core.DeploymentManager.computeDeploymentLocation(Unknown Source)rn at com.genuitec.eclipse.ast.deploy.core.ui.debug.RunOnServerLaunchConfigurationDelegate.ā(Unknown Source)rn at com.genuitec.eclipse.ast.deploy.core.ui.debug.RunOnServerLaunchConfigurationDelegate.ā(Unknown Source)rn at com.genuitec.eclipse.ast.deploy.core.ui.debug.RunOnServerLaunchConfigurationDelegate.ā(Unknown Source)rn at com.genuitec.eclipse.ast.deploy.core.ui.debug.RunOnServerLaunchConfigurationDelegate.launch(Unknown Source)rn at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)rn at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)rn at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:866)rn at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1069)rn at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)rnrnrn不知道是什么原因,请高手指教,多谢!!!
MyEclipse出错
我的MyEclipse和tomcat都是6.0的,JDK是1.6的,出现以下错误,但有时项目能运行,请高手指点一下。rn信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\MyEclipse 6.0\bin;D:\apache-tomcat-6.0.20\binrn2009-10-13 21:22:07 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2009-10-13 21:22:07 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 847 msrn2009-10-13 21:22:07 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2009-10-13 21:22:07 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.20rn2009-10-13 21:22:08 org.apache.catalina.core.ApplicationContext logrn信息: ContextListener: contextInitialized()rn2009-10-13 21:22:08 org.apache.catalina.core.ApplicationContext logrn信息: SessionListener: contextInitialized()rn2009-10-13 21:22:09 org.apache.tomcat.util.modeler.Registry registerComponentrn[color=#FF0000]严重: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/myweb,J2EEApplication=none,J2EEServer=nonern2009-10-13 21:22:09 org.apache.catalina.startup.HostConfig deployDirectoryrn严重: Error deploying web application directory myweb[/color]rnjava.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class WelcomeServlet)
myeclipse出错
项目注册页面和登录页面一提交,myeclipse就会弹出对话框[img=https://img-bbs.csdn.net/upload/201508/27/1440638438_497142.png][/img],如图,都找不出是什么原因,求大神帮忙
程序在myEclipse中可以运行 在命令行里运行出错
[code=Java]package com.hnzskj.encrypt;rnrnimport java.io.FileInputStream;rnimport java.io.FileNotFoundException;rnimport java.io.FileOutputStream;rnimport java.io.IOException;rnimport java.io.ObjectInputStream;rnimport java.io.ObjectOutputStream;rnimport java.security.NoSuchAlgorithmException;rnrnimport javax.crypto.BadPaddingException;rnimport javax.crypto.Cipher;rnimport javax.crypto.IllegalBlockSizeException;rnimport javax.crypto.KeyGenerator;rnimport javax.crypto.SecretKey;rnrnimport org.apache.commons.codec.binary.Base64;rnrnpublic class Encrypt rn rn /**rn * 对称加密-产生密钥rn */rn public static void generatorKey() rn SecretKey key = null;rn try rn // 指定算法,这里为DES;如果想用Blowfish算法,则用getInstance("Blowfish")rn // BouncyCastle基本上支持所有通用标准算法rn KeyGenerator keygen = KeyGenerator.getInstance("DES");rn // 指定密钥长度,长度越高,加密强度越大rn keygen.init(56);rn // 产生密钥rn key = keygen.generateKey();rn // 构造输出文件,这里的目录是动态的,根据用户名称来构造目录rn ObjectOutputStream keyFile = new ObjectOutputStream(rn new FileOutputStream("c:\\encrypt\\yhb.des"));rn keyFile.writeObject(key);rn keyFile.close();rn catch (NoSuchAlgorithmException e5) rn // generateKey()抛出的异常rn e5.printStackTrace();rn System.out.print("no such algorithm");rn System.exit(0);rn catch (IOException e4) rn e4.printStackTrace();rn System.out.print("error when generate the deskey");rn System.exit(0);rn rn rn rn /**rn * 方法描述:对称加密-读取密钥rn */rn private static SecretKey getSecretKey() rn // 从密钥文件中读密钥rn SecretKey key = null;rn try rn ObjectInputStream keyFile = new ObjectInputStream(rn new FileInputStream("c:\\encrypt\\yhb.des"));rn key = (SecretKey) keyFile.readObject();rn keyFile.close();rn catch (FileNotFoundException ey1) rn ey1.printStackTrace();rn System.out.println("Error when read keyFile");rn System.exit(0);rn catch (Exception ey2) rn System.out.println("error when read the keyFile");rn ey2.printStackTrace();rn rn return key;rn rnrn /**rn * 方法描述:加密文本信息rn */rn public static String encrypt(String encryptStr) rn SecretKey key = getSecretKey();rn Cipher cipher = null;rn try rn // 设置算法,应该与加密时的设置一样rn cipher = Cipher.getInstance("DES");rn // 设置解密模式rn cipher.init(Cipher.ENCRYPT_MODE, key);rn catch (Exception ey3) rn ey3.printStackTrace();rn System.out.println("Error when create the cipher");rn rn byte[] data = null;rn try rn data = cipher.doFinal(encryptStr.getBytes());rn catch (IllegalBlockSizeException e) rn e.printStackTrace();rn catch (BadPaddingException e) rn e.printStackTrace();rn rn encryptStr = Base64.encodeBase64String(data);rn return encryptStr;rn rn rn public static void main(String[] args) rn System.out.println(encrypt("加密字符串"));rn rnrn[/code]rn这个类在myeclipse中可以正常运行,但是命令行里执行时就出现以下问题:rnrnjava.security.NoSuchAlgorithmException: Cannot find any provider supporting DESrn at javax.crypto.Cipher.getInstance(DashoA13*..)rn at com.hnzskj.encrypt.Encrypt.encrypt(Encrypt.java:90)rn at com.hnzskj.encrypt.Encrypt.main(Encrypt.java:110)rnError when create the cipherrnException in thread "main" java.lang.NullPointerExceptionrn at com.hnzskj.encrypt.Encrypt.encrypt(Encrypt.java:99)rn at com.hnzskj.encrypt.Encrypt.main(Encrypt.java:110)rnrnrn
myeclipse 6.5 Ctrl + 鼠标左键问题
myeclipse6.5 中ctrl+左键无法快速进入类或方法了。按住ctrl键,把鼠标放在上面没有出现下划线,无法快速进入rn请问在那里设置,谢谢
F11一键恢复系统(IBM F11) 官方安装版
实用工具,可以将系统恢复到最安全的一个状态,
myeclipse与Tomcat配置出错!!!
我的myeclipse与Tomcat配置好后,本来是好用的,而且发布项目的时候,一切正常。但是有一天,我又用个myeclipse自带的Tomcat发布了一个项目之后,再返回来用Tomcat,就出现了控制台输出如下情况:rnrn[color=#FF0000]2011-8-11 18:26:06 org.apache.catalina.core.AprLifecycleListener initrn信息: Loaded APR based Apache Tomcat Native library 1.1.20.rn2011-8-11 18:26:06 org.apache.catalina.core.AprLifecycleListener initrn信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].rn2011-8-11 18:26:08 org.apache.coyote.http11.Http11AprProtocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2011-8-11 18:26:08 org.apache.coyote.ajp.AjpAprProtocol initrn信息: Initializing Coyote AJP/1.3 on ajp-8009rn2011-8-11 18:26:08 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 2233 msrn2011-8-11 18:26:08 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2011-8-11 18:26:08 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.32rn2011-8-11 18:26:08 org.apache.catalina.startup.HostConfig deployDescriptorrn信息: Deploying configuration descriptor host-manager.xmlrn2011-8-11 18:26:09 org.apache.catalina.startup.HostConfig deployDescriptorrn信息: Deploying configuration descriptor manager.xmlrn2011-8-11 18:26:09 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory docsrn2011-8-11 18:26:09 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory examplesrn2011-8-11 18:26:10 org.apache.catalina.core.ApplicationContext logrn信息: ContextListener: contextInitialized()rn2011-8-11 18:26:10 org.apache.catalina.core.ApplicationContext logrn信息: SessionListener: contextInitialized()rn2011-8-11 18:26:10 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory gfdrn2011-8-11 18:26:10 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory ROOTrn2011-8-11 18:26:10 org.apache.coyote.http11.Http11AprProtocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2011-8-11 18:26:10 org.apache.coyote.ajp.AjpAprProtocol startrn信息: Starting Coyote AJP/1.3 on ajp-8009rn2011-8-11 18:26:10 org.apache.catalina.startup.Catalina startrn信息: Server startup in 2146 ms[/color]rnrn 虽然是红色报错信息,但是测试连接能够实现,就是本来应该是黑色代表正常输出的内容,现在全部变成了红色,但是一旦项目运行出错,本来应该红色输出的内容,控制台全部是黑色的了,我检查过myeclipse的设置,没有问题。而且重装过Tomcat,但是一直没有效果。rnrn期待各位高手解决问题,非常感谢!
Myeclipse导入项目出错
公司里有个项目,用Myeclipse6.6导入时没有问题,带到家里用Myeclipse8.5导入时报错:rn[img=file://C:\Documents and Settings\Administrator\Application Data\Tencent\QQ\Temp\18R~%70H3U0UTDW@$MHG.jpg][/img]rn[img=file://C:\Documents and Settings\Administrator\Application Data\Tencent\QQ\Temp\EEA39ISY$070P@1[_$D0NW.jpg][/img]rn求救~~~~~~~~~~~~~~~
myeclipse连接 oracle数据库出错···
我用 myeclipse 连接 oracle的时候,就会出现下面这个错误,不过怎么也找不到原因···请大家帮忙!rnrnError while trying to login to database:rnORA-00604: error occurred at recursive SQL level 1rnORA-12705: Cannot access NLS data files or invalid environment specified
MyEclipse连接数据库MySQL出错!
Error while performing database loging with the MySql driver communi cations link failure rn last packet sent to the server was 0 ms ago rnOpen connection 时错! 什么问题?rn请高手帮忙!
MyEclipse启动Tomcat出错
我用的Vista系统,启动的时候总是报一下错误,请问我该怎么解决啊rn有高手帮下忙吧,谢谢了rnrnrn下面是错误代码:rn[code=Java]rn2009-10-11 16:03:23 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: C:\Program Files\Java\jre6\bin;C:\Program Files\Apache Software Foundation\Tomcat 6.0\binrn2009-10-11 16:03:23 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8888rn2009-10-11 16:03:23 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 424 msrn2009-10-11 16:03:23 org.apache.naming.NamingContext lookuprn警告: Unexpected exception resolving referencernjava.io.FileNotFoundException: C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\tomcat-users.xml.new (拒绝访问。)rn at java.io.FileOutputStream.open(Native Method)rn at java.io.FileOutputStream.(Unknown Source)rn at java.io.FileOutputStream.(Unknown Source)rn at org.apache.catalina.users.MemoryUserDatabase.save(MemoryUserDatabase.java:521)rn at org.apache.catalina.users.MemoryUserDatabaseFactory.getObjectInstance(MemoryUserDatabaseFactory.java:104)rn at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:140)rn at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)rn at org.apache.naming.NamingContext.lookup(NamingContext.java:793)rn at org.apache.naming.NamingContext.lookup(NamingContext.java:140)rn at org.apache.naming.NamingContextBindingsEnumeration.nextElementInternal(NamingContextBindingsEnumeration.java:113)rn at org.apache.naming.NamingContextBindingsEnumeration.next(NamingContextBindingsEnumeration.java:71)rn at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:137)rn at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:109)rn at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(GlobalResourcesLifecycleListener.java:81)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:703)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)rn2009-10-11 16:03:23 org.apache.catalina.mbeans.GlobalResourcesLifecycleListener createMBeansrn严重: Exception processing Global JNDI Resourcesrnjavax.naming.NamingException: C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\tomcat-users.xml.new (拒绝访问。)rn at org.apache.naming.NamingContext.lookup(NamingContext.java:805)rn at org.apache.naming.NamingContext.lookup(NamingContext.java:140)rn at org.apache.naming.NamingContextBindingsEnumeration.nextElementInternal(NamingContextBindingsEnumeration.java:113)rn at org.apache.naming.NamingContextBindingsEnumeration.next(NamingContextBindingsEnumeration.java:71)rn at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:137)rn at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:109)rn at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(GlobalResourcesLifecycleListener.java:81)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:703)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)rn2009-10-11 16:03:23 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2009-10-11 16:03:23 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.16rn2009-10-11 16:03:23 org.apache.naming.NamingContext lookuprn警告: Unexpected exception resolving referencernjava.io.FileNotFoundException: C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\tomcat-users.xml.new (拒绝访问。)rn at java.io.FileOutputStream.open(Native Method)rn at java.io.FileOutputStream.(Unknown Source)rn at java.io.FileOutputStream.(Unknown Source)rn at org.apache.catalina.users.MemoryUserDatabase.save(MemoryUserDatabase.java:521)rn at org.apache.catalina.users.MemoryUserDatabaseFactory.getObjectInstance(MemoryUserDatabaseFactory.java:104)rn at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:140)rn at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)rn at org.apache.naming.NamingContext.lookup(NamingContext.java:793)rn at org.apache.naming.NamingContext.lookup(NamingContext.java:153)rn at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:253)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1037)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)rn2009-10-11 16:03:23 org.apache.catalina.realm.UserDatabaseRealm startrn严重: Exception looking up UserDatabase under key UserDatabasernjavax.naming.NamingException: C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\tomcat-users.xml.new (拒绝访问。)rn at org.apache.naming.NamingContext.lookup(NamingContext.java:805)rn at org.apache.naming.NamingContext.lookup(NamingContext.java:153)rn at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:253)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1037)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)rn2009-10-11 16:03:23 org.apache.catalina.startup.Catalina startrn严重: Catalina.start: rnLifecycleException: No UserDatabase component found under key UserDatabasern at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:261)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1037)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)rn2009-10-11 16:03:23 org.apache.catalina.startup.Catalina startrn信息: Server startup in 44 msrn[/code]
Myeclipse 老是出错!!!!
我的 Myeclipse 7.0 老是出错,都搞死了!rnrn这是定义的方法rn[code=Java]rnpublic List getOneMessage(int messageID)rn rn tryrn rn con = Dbconn.getConnection();rn String sql = "select * from MESSAGE where [messageID]=?";rn ps = con.prepareStatement(sql);rn ps.setInt(1, messageID);rn........rnrn[/code]rnrn这是测试rn[code=Java]rnpublic static void main(String[] args)rn rn MessageDao messageDao = new MessageDao();rn rn Iterator it = messageDao.getOneMessage(1).iterator();rn while (it.hasNext())rn rn Message message =(Message)it.next();rn System.out.println(message.getContent()); rn rnrn[/code]rn这里测试通过的,放进jsp有时有错,重启程序又好了,哎 已经遇过好几次了rnrnrn这是错误:rnrnrnAn error occurred at line: 24 in the jsp file: /message/revertMessage.jsprnGenerated servlet error:rnrn[b]The method getOneMessage(int) is undefined for the type MessageDao[/b]rnrnrn org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)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)
dwr.xml在Myeclipse中出错
问题信息:rn The content of element type "dwr" must match "(init?,allow?,signatures?)"
myeclipse·集成jboss出错
myeclipse集成jboss出现问题rn20:06:23,078 ERROR [AbstractKernelController] Error installing to Create: name=jboss.jacc:id="vfsfile:/D:/jboss/jboss-5.0.1.GA/server/default/deploy/management/console-mgr.sar/web-console.war/",parent="console-mgr.sar",service=jacc state=Configured mode=Manual requiredState=Creaternjava.lang.RuntimeException: java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : cannot find class : nullrn at org.jboss.deployment.security.JaccPolicy.create(JaccPolicy.java:87)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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)rn at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)rn at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)rn at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)rn at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)rn at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)rn at $Proxy36.create(Unknown Source)rnn[b]问题补充:[/b]nmyeclipse6.5+jboss5.0+jdk1.6n[b]问题补充:[/b]nD:\jboss\jboss-5.0.1.GA\server\default\lib是空的rnn[b]问题补充:[/b]n有问题的话,我在eclipse外怎么可以运行呢?n[b]问题补充:[/b]n我用的是自己安装的jdk1.6,没有用eclipse自带的啊!n[b]问题补充:[/b]n5.0.0.GA rnn[b]问题补充:[/b]n错了 是这个jboss-5.0.1.GAn[b]问题补充:[/b]n不好意思lovewhzlq!没有jboss-j2ee,只有jboss-javaee 而且是两个 我三种删除的可能性都用了,可是还是不行!你用的哪个版本啊!n[b]问题补充:[/b]nlovewhzlq 我想哭!还是不丁啊!rnn[b]问题补充:[/b]n用4.2我还得把jdk换成1.5的吧 n[b]问题补充:[/b]n不管怎么样儿?谢谢lovewhzlq兄!以前都是在csdn混的!今天第一次来javaeye!呵呵!lovewhzlq兄可以把你的qq给我么?以后又什么问题可以交流交流!
myeclipse导入web项目出错
[img=https://img-bbs.csdn.net/upload/201605/16/1463389658_850008.png][/img]rn如图所示 当导入java的web项目时,报这样的错rn此项目原本为intellij idea 创建 我在根目录下创建了.project、.classpath、.mymetadata文件 并在根目录下创建了.settings文件夹 并在内部创建了 6个文件 分别为org.eclipse.core.resources.prefs、org.eclipse.jdt.core.prefs、org.eclipse.wst.common、org.eclipse.wst.common.project.facet.core、org.eclipse.wst.jsdt.ui.superType.container、org.eclipse.wst.jsdt.ui.superTypern其代码如下:rn.project文件:rnrnrnGcimesrnrnrnrnrnrnorg.eclipse.wst.common.project.facet.core.builderrnrnrnrnrnorg.eclipse.wst.jsdt.core.javascriptValidatorrnrnrnrnrncom.genuitec.eclipse.j2eedt.core.WebClasspathBuilderrnrnrnrnrnorg.eclipse.jdt.core.javabuilderrnrnrnrnrncom.genuitec.eclipse.j2eedt.core.J2EEProjectValidatorrnrnrnrnrncom.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidatorrnrnrnrnrnorg.eclipse.wst.validation.validationbuilderrnrnrnrnrncom.genuitec.eclipse.ast.deploy.core.DeploymentBuilderrnrnrnrnrnrncom.genuitec.eclipse.ast.deploy.core.deploymentnaturernorg.eclipse.jem.workbench.JavaEMFNaturerncom.genuitec.eclipse.j2eedt.core.webnaturernorg.eclipse.jdt.core.javanaturernorg.eclipse.wst.jsdt.core.jsNaturernorg.eclipse.wst.common.project.facet.core.naturernorg.eclipse.wst.common.modulecore.ModuleCoreNaturernrnrnrn.classpath文件:rnrnrnrnrnrnrnrnrnrnrn.mymetadata文件:rnrn type="WEB"rn name="Gcimes"rn id="myeclipse.1407308101935″rn context-root="/Test"rn j2ee-spec="6.0″rn archive="Gcimes.war">rn rn rn rnrnrnorg.eclipse.core.resources.prefs文件rn#Wed Aug 06 15:01:06 CST 2014rneclipse.preferences.version=1rnencoding/=UTF-8rnrnorg.eclipse.jdt.core.prefs文件:rn#Wed Aug 06 14:55:08 CST 2014rneclipse.preferences.version=1rnorg.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabledrnorg.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6rnorg.eclipse.jdt.core.compiler.compliance=1.6rnorg.eclipse.jdt.core.compiler.problem.assertIdentifier=errorrnorg.eclipse.jdt.core.compiler.problem.enumIdentifier=errorrnorg.eclipse.jdt.core.compiler.source=1.6rnrnorg.eclipse.wst.common文件:rnrnrn rn rn rn rn rn rnrnrnorg.eclipse.wst.common.project.facet.core文件:rnrnrnrnrnrnrnrnrnorg.eclipse.wst.jsdt.ui.superType.container、org.eclipse.wst.jsdt.ui.superType均为空文件rnrn文件夹路径如下:rn[img=https://img-bbs.csdn.net/upload/201605/16/1463391175_103748.png][/img]rn项目名称为:Gcimesrn求大神帮忙解决rn
MyEclipse导入项目,出错
使用import导入项目,为什么不能直接运行?看了网上的建议,什么改个字,再部署等方法 ,都不行。有没有谁又明确的方法啊?先谢谢了
myeclipse更新出错
几乎每次开启myeclipse的时候都会出现如下问题,这是怎么回事呢?rnrn09-6-24 下午06时16分22秒: [INFO] User settings file does not exist C:\Documents and Settings\ghoul\.m2\settings.xmlrn09-6-24 下午06时16分28秒: [INFO] User settings file does not exist C:\Documents and Settings\ghoul\.m2\settings.xmlrn09-6-24 下午06时16分52秒: Unable to update index for central http://repo1.maven.org/maven2/rnrn兄弟姐妹们帮帮忙!
myeclipse下修改文件名出错
在myeclipse下修改文件名或者是将java程序从一个包移到另一个包下面都会被拒绝,出现如下提示rn[img=https://img-bbs.csdn.net/upload/201402/26/1393403779_264328.png][/img]rn这是什么问题?求解答
MyEclipse下启动JBOSS出错
Source not found for Util.throwError(Result) line: not availablern在MyEclipse里启动JBOSS就出现了这个错误,导致启动不下去,用的是MyEclipse6.0M1,Jboss版本是jboss-4.2.2.GArn但是在控制台下还是可以正常启动的,请大虾们帮我看看
Myeclipse 与sqlserver连接出错
我的是xp系统,我们在学j2ee要用到Myeclipse连接数据库sqlserver2000可是出现rnjava.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC] Error establishing socketrn的错误,sp3补丁已经装上,telnet 127.0.0.1 1433时连接出错。rn哪位高人能帮一下忙啊。可加我QQ:365832692
myeclipse启动tomcat出错
java.lang.NoClassDefFoundError: Ljavax/enterprise/inject/spi/BeanManager;n
myeclipse下工程 编译时出错
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bossInterfaceUtils' defined in file [D:\apache-tomcat-6.0.41\webapps\ccps_sx\WEB-INF\classes\com\bjdv\ccps\jk\util\BossInterfaceUtils.class]: Instantiation of bean failed;rnrnrn这个文件在目录下是存在的呀, 刚学java,谢谢大家!
MyEclipse 编辑JSP出错?
MyEclipse 编辑JSP出错,错误信息是rn严重性 描述 资源 所在文件夹 位置 创建时间 标识rn2 cannot access javax.servlet.Servlet: file javax\servlet\Servlet.class not found. NOTE: No JSP line number was avaliable so line 1 was used for the marker. TestVertifyCode.jsp mysample/WebRoot 第 1 行 2005年11月14日 15:31:52 176rn2 cannot resolve symbol: symbol : class HttpServletRequest. NOTE: No JSP line number was avaliable so line 1 was used for the marker. TestVertifyCode.jsp mysample/WebRoot 第 1 行 2005年11月14日 15:31:52 177rn2 cannot resolve symbol: symbol : class HttpServletResponse. NOTE: No JSP line number was avaliable so line 1 was used for the marker. TestVertifyCode.jsp mysample/WebRoot 第 1 行 2005年11月14日 15:31:52 178rn2 cannot resolve symbol: symbol : class ServletException. NOTE: No JSP line number was avaliable so line 1 was used for the marker. TestVertifyCode.jsp mysample/WebRoot 第 1 行 2005年11月14日 15:31:52 179rn2 package javax.servlet.http does not exist: import javax.servlet.http.*;. NOTE: No JSP line number was avaliable so line 1 was used for the marker. TestVertifyCode.jsp mysample/WebRoot 第 1 行 2005年11月14日 15:31:52 175rn2 package javax.servlet does not exist: import javax.servlet.*;. NOTE: No JSP line number was avaliable so line 1 was used for the marker. TestVertifyCode.jsp mysample/WebRoot 第 1 行 2005年11月14日 15:31:52 174rnrn但是部署上去不影响运行
myeclipse导入工程出错
导入工程的时候出错,提示工程xx已存在 后来仔细研究,发现一个项目有这么几个名字 1.物理目录名字,这个是物理目录的名字,可以更改 2.项目名称,注意,项目名称是项目在myeclipse的名称,可以和物理目录不一样,我当初就是改了物理目录名称,但是项目名称有重复的,所以出错 了 3.context root名称,这个是访问项目根路径的名称,可以自由选定,和前面2个还是一致的好在运行项目的时候
MyEclipse 写web项目出错
项目服务是:tomcat6.0.26 JDK:1.6.rn启动tomcat时出错。rn010-5-12 17:38:13 org.apache.catalina.core.AprLifecycleListener initrn信息: Loaded APR based Apache Tomcat Native library 1.1.20.rn2010-5-12 17:38:13 org.apache.catalina.core.AprLifecycleListener initrn信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].rn2010-5-12 17:38:14 org.apache.coyote.http11.Http11AprProtocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2010-5-12 17:38:14 org.apache.coyote.ajp.AjpAprProtocol initrn信息: Initializing Coyote AJP/1.3 on ajp-8009rn2010-5-12 17:38:14 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 2019 msrn2010-5-12 17:38:14 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2010-5-12 17:38:14 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.26rn2010-5-12 17:38:14 org.apache.catalina.startup.HostConfig deployDescriptorrn信息: Deploying configuration descriptor host-manager.xmlrn2010-5-12 17:38:15 org.apache.catalina.startup.HostConfig deployDescriptorrn信息: Deploying configuration descriptor manager.xmlrn2010-5-12 17:38:15 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory BBSrn2010-5-12 17:38:15 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory BBS.myeclipse.bakrn2010-5-12 17:38:15 org.apache.catalina.loader.WebappClassLoader validateJarFilern信息: validateJarFile(E:\tomcat6.0.26\webapps\BBS.myeclipse.bak\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.classrn2010-5-12 17:38:15 org.apache.catalina.core.ApplicationContext logrn信息: Marking servlet jsp as unavailablern2010-5-12 17:38:15 org.apache.catalina.core.StandardContext loadOnStartuprn严重: Servlet /BBS.myeclipse.bak threw load() exceptionrnjava.lang.ClassNotFoundException: org.apache.commons.logging.LogFactoryrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1516)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1361)rn at org.apache.jasper.servlet.JspServlet.(JspServlet.java:59)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:1116)rn at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)rn at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)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:546)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)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:519)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:581)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)rn2010-5-12 17:38:15 org.apache.tomcat.util.modeler.Registry registerComponentrn严重: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/BBS.myeclipse.bak,J2EEApplication=none,J2EEServer=nonern2010-5-12 17:38:15 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory docsrn2010-5-12 17:38:15 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory examplesrn2010-5-12 17:38:16 org.apache.catalina.core.ApplicationContext logrn信息: ContextListener: contextInitialized()rn2010-5-12 17:38:16 org.apache.catalina.core.ApplicationContext logrn信息: SessionListener: contextInitialized()rn2010-5-12 17:38:16 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory ROOTrn2010-5-12 17:38:16 org.apache.coyote.http11.Http11AprProtocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2010-5-12 17:38:16 org.apache.coyote.ajp.AjpAprProtocol startrn信息: Starting Coyote AJP/1.3 on ajp-8009rn2010-5-12 17:38:16 org.apache.catalina.startup.Catalina startrn信息: Server startup in 2302 msrnrn
myeclipse配置tomcat出错
先说下环境 xp D:\jdk1.6 C:\tomcat6 环境变量JAVA_HOME=D:\jdk1.6 rnmyeclipse的tomcat以按照官网上的教程配置,iis在服务里没有找到,应该不影响的吧rn然后在server中start后出现以下是输出,红色是字体标出了错误rnrn2010-2-12 13:47:47 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: D:\jdk1.6.0_12\bin;C:\apache-tomcat-6.0.18\binrn2010-2-12 13:47:47 org.apache.coyote.http11.Http11Protocol initrn[color=#FF0000]严重: Error initializing endpoint[/color]rnjava.net.BindException: Cannot assign requested address: JVM_Bind:80rn at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:502)rn at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)rn at org.apache.catalina.connector.Connector.initialize(Connector.java:1058)rn at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)rn at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:530)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:550)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:260)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)rn2010-2-12 13:47:47 org.apache.catalina.startup.Catalina loadrn严重: Catalina.startrnLifecycleException: Protocol handler initialization failed: java.net.BindException: Cannot assign requested address: JVM_Bind:80rn at org.apache.catalina.connector.Connector.initialize(Connector.java:1060)rn at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)rn at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:530)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:550)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:260)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)rn2010-2-12 13:47:47 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 478 msrn2010-2-12 13:47:47 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2010-2-12 13:47:47 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.18rn2010-2-12 13:47:47 org.apache.catalina.core.ApplicationContext logrn信息: ContextListener: contextInitialized()rn2010-2-12 13:47:47 org.apache.catalina.core.ApplicationContext logrn信息: SessionListener: contextInitialized()rn2010-2-12 13:47:47 org.apache.catalina.core.ApplicationContext logrn信息: ContextListener: attributeAdded('org.apache.catalina.Registry', 'org.apache.tomcat.util.modeler.Registry@1c695a6')rn2010-2-12 13:47:47 org.apache.catalina.core.ApplicationContext logrn信息: ContextListener: attributeAdded('org.apache.catalina.MBeanServer', 'com.sun.jmx.mbeanserver.JmxMBeanServer@8acf6e')rn2010-2-12 13:47:47 org.apache.coyote.http11.Http11Protocol startrn严重: Error starting endpointrnjava.net.BindException: Cannot assign requested address: JVM_Bind:80rn at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:502)rn at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:519)rn at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:203)rn at org.apache.catalina.connector.Connector.start(Connector.java:1131)rn at org.apache.catalina.core.StandardService.start(StandardService.java:531)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(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:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2010-2-12 13:47:47 org.apache.catalina.startup.Catalina startrn严重: Catalina.start: rnLifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Cannot assign requested address: JVM_Bind:80rn at org.apache.catalina.connector.Connector.start(Connector.java:1138)rn at org.apache.catalina.core.StandardService.start(StandardService.java:531)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(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:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2010-2-12 13:47:47 org.apache.catalina.startup.Catalina startrn信息: Server startup in 657 msrn2010-2-12 13:47:47 org.apache.catalina.core.StandardServer awaitrn严重: StandardServer.await: create[8005]: rnjava.net.BindException: Cannot assign requested address: JVM_Bindrn at java.net.PlainSocketImpl.socketBind(Native Method)rn at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)rn at java.net.ServerSocket.bind(ServerSocket.java:319)rn at java.net.ServerSocket.(ServerSocket.java:185)rn at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)rn at org.apache.catalina.startup.Catalina.await(Catalina.java:642)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:602)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:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn
myeclipse导出war出错
myeclipse 10.6 破解后导出war,报错,然后退出,求解决!
linux下安装MyEclipse出错
在安装MyEclipse时用鼠标双击安装文件,安装结束时出现错误窗口,信息如下:rn 应用程序“gnome-terminal”(进程8083)已经崩溃,以下致命错误导致的。rn(已放弃)rn这是怎么一回事啊(我在控制台用命令方式安装就可以)习惯了window下的鼠标操作突然改为linux下的命令模式,真不习惯!
myeclipse导入项目出错
各位大神好,我在学习的时候在导入一个别人做的项目时出现下面几个错误,不知道怎么调试呢 希望能帮助解答.论坛不知道怎么上传不了图片 只能复制文本了 谢谢 另外在安装jdk的时候我只配置了一个环境变量rnpath=c\Program Files\Java\jdk1.6.0_45\bin 这个配置是成功的.没有像其他那种有什么%号之类的,出现这个原因和我这样配置环境有关系吗 ?rnrnrn1 Unbound classpath container: 'JRE System Library [JavaSE-1.6]' in project 'day02' rnrn2 The project cannot be built until build path errors are resolved rnrn3 Build path specifies execution environment JavaSE-1.6. There are no compatible JREs in the workspace
Myeclipse导入项目出错问题
哎真是的,记下来以后别傻兮兮的。The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files项目组建和Myeclipse环境引用的JDK不同。解决方案: 点击window&amp;gt;preferences&amp;gt;java&amp;gt;Installed JREs 首先点...
相关热词 c#入门推荐书 c# 解码海康数据流 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池 c#5.0 安装程序 c# 分页算法