Win a copy of Rust Web Development this week in the Other Languages forum!

tsaowe cao

Greenhorn
+ Follow
since Jul 14, 2011
tsaowe likes ...
IntelliJ IDE jQuery Linux
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by tsaowe cao

eh

can your jar file run under command line?when you type command like "java -jar ***.jar com.pkgname.Classname" under windows console and will respond?

if so,add your ***.jar full path alongside with the previous classpath in environment variables,this must work!


most time,i think if the IDE settings is not properly setted and many strange may occur,you may restart your ide and try again,if not that case,think over again your operation,maybe you miss some step.

may it help!
9 years ago
have you include your jar in your build path ? if you use eclipse,right click the jar and select build path - > configure build path , then add your external jar into the project,may it help
9 years ago
hi Vineet Kumar Garg

have you ever put this line under <html> ?

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>




when put this line in your jsp,you jsp file should like



<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<head>
<title>tsaowe</title>
</head>
<body>



when i put this, i got your expected result

9 years ago
JSP
does this operation need restart some service?
10 years ago
i got these message when i trying to run a multithread program

java.io.IOException: Too many open files
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:883)
at cn.csdb.gsqcs.controller.DoWork.touchFileAndWrite(DoWork.java:319)
at cn.csdb.gsqcs.controller.DoWork.run(DoWork.java:44)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)


and these

java.io.IOException: Cannot run program "transeq": java.io.IOException: error=24, Too many open files
at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:431)
at java.lang.Runtime.exec(Runtime.java:328)
at cn.csdb.gsqcs.controller.DoWork.run(DoWork.java:47)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: java.io.IOException: error=24, Too many open files
at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)



it seems like i have opened too many file during the execution of my job,may be this is caused by not close the stream immediately,
but i really do close the stream ~can anyone do some help,any idea will be perfect~
10 years ago