解决方案 »
- 求判断一个数是否存在一列数组中的代码
- 多线程问题Thread
- 强制转换出错
- 在线等!关于用用户名,密码登陆系统进行身份确认的实现中出现的小问题!
- 编码转换的问题....在线等
- classpath的功能
- [提问]如何解决JTextField中文输入异常?
- 连接mysql的时候报错Access denied for user: '[email protected]' (Using password: YES)
- java 和 windows 2000
- 请问怎样用Appletviewer 浏览 APPLET ,谢谢
- Vector is a raw type. References to generic type Vector<E> should be parameteriz
- java将一个文件夹下所有文件(递归)的后缀名写入到一个txt中,怎么就是去不了重,还请大神给看看
It means: "A class that you use needs an other class that is not on the classpath." You should make sure to add the required jar to the classpath.把需要的jar包,追加到classpath里就行
我是在做2维码的时候碰到这个问题了
The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files是因为eclipse 对1.8的不支持所致,最起码我的是这样
然后我去eclipse 官网去查看,发现eclipse直到4.3.2 版本才完全对jdk1.8支持,引用:contain full support for Java™ 8. For Kepler SR2 (4.3.2)
请到 官网查看 http://download.eclipse.org/eclipse/downloads/ 看看能不能解决你的问题
信息: 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\jre1.8.0_25\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre1.8.0_25/bin/client;C:/Program Files/Java/jre1.8.0_25/bin;C:/Program Files/Java/jre1.8.0_25/lib/i386;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Common Files\NetSarang;E:\app\lihong_tang\product\11.2.0\dbhome_1\bin;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\DMIX;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;D:\TortoiseSVN\bin;D:\Java\jdk1.6.0_11\bin;C:\Program Files\Windows Live\Shared;F:\tools\apache-maven-3.2.3-bin\apache-maven-3.2.3\bin;C:\Program Files\AMD\ATI.ACE\Core-Static;F:\tools\eclipse3.7indigo靛青版\eclipse;;.
十二月 31, 2014 9:19:45 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Exam' did not find a matching property.
十二月 31, 2014 9:19:45 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8111"]
十二月 31, 2014 9:19:45 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8119"]
十二月 31, 2014 9:19:45 上午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 753 ms
十二月 31, 2014 9:19:45 上午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
十二月 31, 2014 9:19:45 上午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.40
十二月 31, 2014 9:19:46 上午 org.apache.catalina.util.SessionIdGenerator createSecureRandom
信息: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [395] milliseconds.
十二月 31, 2014 9:19:47 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined
十二月 31, 2014 9:19:47 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://struts.apache.org/tags-html is already defined
十二月 31, 2014 9:19:47 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://struts.apache.org/tags-logic is already defined
十二月 31, 2014 9:19:47 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://struts.apache.org/tags-nested is already defined
十二月 31, 2014 9:19:47 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://struts.apache.org/tags-tiles is already defined
十二月 31, 2014 9:19:47 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8111"]
十二月 31, 2014 9:19:47 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8119"]
十二月 31, 2014 9:19:47 上午 org.apache.catalina.startup.Catalina start
信息: Server startup in 2163 ms
十二月 31, 2014 9:20:03 上午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet [action] in context with path [/Exam] threw exception [Servlet execution threw an exception] with root cause
java.lang.Error: Unresolved compilation problem:
The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files
上面报错的方式我的解法方法是吧jre8换成6的就好了
选中项目-》右键-》java build path ->找到jre system library -》选择edit-》进入界面选择alternate jre ->在后面的installed jres..里选择jdk1.6的目录上的jre -》ok 之后 清楚 构建下就好了