社区
Java SE
帖子详情
Can't read input file
Ivy530
2007-12-02 08:11:28
写的一个小程序,打开总提示,can't read input file!...
重起几次后可能会打开,不明白为什么,环境这么不稳定,我用的是JCREATER PRO,有什么好的解决方法么?请教。。。
...全文
635
3
打赏
收藏
Can't read input file
写的一个小程序,打开总提示,can't read input file!... 重起几次后可能会打开,不明白为什么,环境这么不稳定,我用的是JCREATER PRO,有什么好的解决方法么?请教。。。
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
3 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
Ivy530
2007-12-04
打赏
举报
回复
哦
seaforce
2007-12-03
打赏
举报
回复
你用Ecpilse试试,是否会出现此问题!!!
还有,问问题最好把代码和出错信息详细贴出来,这样才能更好的为你解决问题
zhouyong80
2007-12-03
打赏
举报
回复
问题不太清楚,无法判断,LZ是否可以提供多一些信息。
java反编译工具jad 1.5.8g(可以反编译jdk1.5,1.6)
java反编译工具jad 1.5.8g支持 jdk1.5,jdk1.6。说明很多记住一个万能的命令基本就够用了。jad -sjava -r -8 -o **\*.class ---------------This is
READ
ME
file
for Jad - the fast Java Decompiler.Jad home page: http://www.kpdus.com/jad.htmlCopyright 2001 Pavel Kouznetsov (jad@kpdus.com).0. Please
read
the disclaimer on the Jad home page.1. Installation.Unzip jad.zip
file
into any appropriate directory on your hard drive.This will create two
file
s: - an executable
file
named 'jad.exe' (Windows *) or 'jad' (*n*x) - this
READ
ME
file
No other setup is required.2. How to use JadTo decompile a single JAVA class
file
'example1.class' type the following: jad example1.classThis command creates
file
'example1.jad' in the current directory.If such
file
al
read
y exists Jad asks whether you want to overwrite it or not.Option -o permits overwriting without a confirmation.You can omit .class extension and/or use wildcards in the names of
input
file
s.Option -s allows to change output
file
extension: jad -sjava example1.classThis command creates
file
'example1.java'. Be careful when usingoptions -o and -sjava together, because Jad can accidentally overwriteyour own source
file
s.Jad uses JAVA class name as an output
file
name. For example, if class
file
'example1.class' contains JAVA class 'test1' then Jad will create
file
'test1.jad' rather than 'example1.jad'. If you want to specifyyour own output
file
name use the output redirection: jad -p example1.class > myexm1.javaOption -d allows you to specify another directory for output
file
s,which are created, by default, in the current directory. For example: jad -o -dtest -sjava *.class (or jad -o -d test -s java *.class, which has the same effect)This command decompiles all .class
file
s in the current directory <
javax.imageio.IIOException: Can't
read
input
file
!完美解决
javax.imageio.IIOException: Can't
read
input
file
!完美解决 原创 ...
Can‘t
read
input
file
! 图片上传服务器后出现了读取报错
通常情况下,我们会将跟项目有关的配置文件和静态资源放在resources目录下,在需要时进行调用。在windows系统下,我们利用BufferedImage实现图片的读取有多种方法,例如: 但是,在上传到服务器后,即在linux系统下代码在读取文件路径从而获取图片时,使用前两种方法都会出现报错:Can‘t
read
input
file
! 即无法成功读取文件。经测试此时 使用第三种方法,即使用
Input
Stream 才可在项目上传到服务器后对资源实现读取操作。......
Can‘t
read
input
file
! 粗暴解决办法
Can’t
read
input
file
! 解决办法 今天写一个小的单体项目,出现了错误 显示代码中的图片插入找不到! 直接最粗暴的方案,全路径解决问题
java can't
read
input
file
!_javax.imageio.IIOException: Can't
read
input
file
!完美解决
今天遇到一个问题,上图这段代码主要是给图片添加水印后来百度发现可能是图片的路径出了问题,因为是动态获取的图片地址,然后我把地址打印出来了之后通过终端查看,果然没有之后我在classes目录找到了文件这时焕然大悟因为我的图片文件一开始是放在main文件夹的resources文件夹中的,在文件编译时,会被放在classes文件夹中。。然而我的测试代码是运行在test文件夹的,test文件夹中的reso...
Java SE
62,634
社区成员
307,269
社区内容
发帖
与我相关
我的任务
Java SE
Java 2 Standard Edition
复制链接
扫一扫
分享
社区描述
Java 2 Standard Edition
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章