Source not found for StandardEngine(ContainerBase).initInternal() line: 1078(a error分析)
2013-08-07 07:51
447 查看
总是这样
在复制完一个项目,并重新起了个名字后. 再打开网页就怎么也打开不了. 第一反应是tomcat出问题了. 于是有了这样的问题:
Source not found for StandardEngine(ContainerBase).initInternal() line: 1078
1 开始总是以为是Tomcat的错误, 所以一直把错误归结于Tomcat服务器, 首先删除了myeclipse 的tomcat 7 ,之后又重新链
接上. 再次重启myeclipse和Tomcat ,但仍然没有解决我的问题.
2 我猜想是因为复制项目的时候我的tomcat服务器没有停止就开始复制项目了, 之后我又把新的版本部署到了tomcat中, 停止
tomcat之后删除了部署在tomcat上原来版本的代码. 可能在复制过程中出的问题. 于是启动任务管理器发现, 有两个javaw.exe进行, 于
是停止了最开始的javaw.exe. 但再重启tomcat时仍然出现上述的错误!
3 不得不去google上寻找答案, 于是网上也有类似的问题. 网上给出了答案:http://redarmychen.iteye.com/blog/466362
.
说是删除所有调试的断点. 我按照这样的步骤去做. 发现tomcat服务器在run模式下可以正常启动. 但是在debug模式下就不能正常启
动. 这就是说明了问题在于debug模式.
但究竟为什么要删除所有的断点就可以解决了这个问题呢???
首先说说debug模式和run模式, 很明显debug(英文单词解释调试,出错,改正有毛病的部分) , run(运行), 我们在调试的时候启动
debug模式, 为了调试过程中能进入我们的断点, 进行调试. run不需要调试,直接运行就可以.
当我把上一个版本的代码复制过来的时候同时把上一个版本的断点也复制过来了. 就这样, 我把新的版本的代码部署到
tomcat中后,再启动tomcat, 在这过程中 其实是执行了代码检查, 也就是把代码进行预编译了, 因为是debug模式, 所以在编译的时候也
进入了断点, 而编译到断点这块的时候, 编译停止不能通过, 于是给我们"错误" 提示 : Source not found for StandardEngine
(ContainerBase).initInternal() line: 1078 (这是我的猜想,就目前的水平我无法验证, 望您指出)
昨夜有雨, 几乎是"过河"过来的, 想到那句话: 摸着石头过河,你不尝试,没人给你经验!加油!
在复制完一个项目,并重新起了个名字后. 再打开网页就怎么也打开不了. 第一反应是tomcat出问题了. 于是有了这样的问题:
Source not found for StandardEngine(ContainerBase).initInternal() line: 1078
1 开始总是以为是Tomcat的错误, 所以一直把错误归结于Tomcat服务器, 首先删除了myeclipse 的tomcat 7 ,之后又重新链
接上. 再次重启myeclipse和Tomcat ,但仍然没有解决我的问题.
2 我猜想是因为复制项目的时候我的tomcat服务器没有停止就开始复制项目了, 之后我又把新的版本部署到了tomcat中, 停止
tomcat之后删除了部署在tomcat上原来版本的代码. 可能在复制过程中出的问题. 于是启动任务管理器发现, 有两个javaw.exe进行, 于
是停止了最开始的javaw.exe. 但再重启tomcat时仍然出现上述的错误!
3 不得不去google上寻找答案, 于是网上也有类似的问题. 网上给出了答案:http://redarmychen.iteye.com/blog/466362
.
说是删除所有调试的断点. 我按照这样的步骤去做. 发现tomcat服务器在run模式下可以正常启动. 但是在debug模式下就不能正常启
动. 这就是说明了问题在于debug模式.
但究竟为什么要删除所有的断点就可以解决了这个问题呢???
首先说说debug模式和run模式, 很明显debug(英文单词解释调试,出错,改正有毛病的部分) , run(运行), 我们在调试的时候启动
debug模式, 为了调试过程中能进入我们的断点, 进行调试. run不需要调试,直接运行就可以.
当我把上一个版本的代码复制过来的时候同时把上一个版本的断点也复制过来了. 就这样, 我把新的版本的代码部署到
tomcat中后,再启动tomcat, 在这过程中 其实是执行了代码检查, 也就是把代码进行预编译了, 因为是debug模式, 所以在编译的时候也
进入了断点, 而编译到断点这块的时候, 编译停止不能通过, 于是给我们"错误" 提示 : Source not found for StandardEngine
(ContainerBase).initInternal() line: 1078 (这是我的猜想,就目前的水平我无法验证, 望您指出)
昨夜有雨, 几乎是"过河"过来的, 想到那句话: 摸着石头过河,你不尝试,没人给你经验!加油!
相关文章推荐
- Source not found for StandardEngine(ContainerBase).initInternal() line: 1078
- Source not found for StandardContext.start() line
- Source not found for Scanner.getNextToken() line: 1010
- 启动debug时Source not found for Class<T>.getDeclaredMethods0(boolean) line:
- Source not found for ClassLoader.findBootstrapClass(String) line: not available [native method]
- Source not found for Class.getDeclaredConstructors0(boolean) line: not available [native method]
- SQL Server error "Xml data type is not supported in distributed queries" and workaround for it
- There is an internal error in the React performance measurement code.Did not expect componentDidMount timer to start while render timer is still in progress for another instance
- 关于: Error in mounted hook: "Error: Component series.line not exists. Load it first
- 启动debug时Source not found for Class<T>.getDeclaredMethods0(boolean) line:
- Source not found for Class .getDeclaredConstructors0(boolean) line: not available [native method]
- Fatal error: Class 'Illuminate\Foundation\Application' not found in /[path_to_laravel_app]/bootstrap/start.php on line 14
- Error: Table ad for model Ad was not found in datasource default.
- 启动MyEclipse出现"Source not found for JdbcOdbcDriver.finalize() line: not available"解决
- No implementation found for int com.baidu.platform.comjni.engine.JNIEngine.initClass
- [ERROR] error: error while loading <root>, error in opening zip file error: scala.reflect.internal.MissingRequirementError: object scala.runtime in compiler mirror not found.
- myeclipse中启动tomcat的问题 (Source not found for StandardContext.start())
- Arcgis for Javascript 出现“init.js->TypeError: f is not a function”
- error: 'xxx函数' is inaccessible,'Text' is not an accessible base of 'TextLine'
- org.hibernate.PropertyNotFoundException: Could not find a getter for employee in class com.itcast.f_hbm_oneToMany.Department