技术笔记:解决Idea中启动Resin,报错:Required file ‘c:\Users\admin\AppData\Local\Temp\cluster-default.xml’ can not

com.caucho.server.resin.Resin -conf C:\Users\admin\AppData\Local\Temp\resin.conf -server app-0
c:\Users\admin\AppData\Local\Temp\resin.conf:10: com.caucho.config.core.ResinImport.init(): Required file ‘c:\Users\admin\AppData\Local\Temp\cluster-default.xml’ can not be read for resin:import.

8: 
9: 
10: 
11: 
12: 

at com.caucho.config.xml.XmlConfigContext.error(XmlConfigContext.java:1245)
at com.caucho.config.xml.XmlConfigContext.configureChildNode(XmlConfigContext.java:471)
at com.caucho.config.xml.XmlConfigContext.configureNode(XmlConfigContext.java:371)
at com.caucho.config.xml.XmlConfigContext.configureBean(XmlConfigContext.java:285)
at com.caucho.config.xml.XmlConfigContext.configure(XmlConfigContext.java:243)
at com.caucho.config.Config.configure(Config.java:324)
at com.caucho.config.Config.configure(Config.java:254)
at com.caucho.server.resin.BootConfig.configureFile(BootConfig.java:132)
at com.caucho.server.resin.Resin.configureFile(Resin.java:1038)
at com.caucho.server.resin.Resin.(Resin.java:251)
at com.caucho.server.resin.Resin.(Resin.java:183)
at com.caucho.server.resin.Resin.main(Resin.java:1467)
Caused by: com.caucho.config.ConfigException: com.caucho.config.core.ResinImport.init(): Required file ‘c:\Users\admin\AppData\Local\Temp\cluster-default.xml’ can not be read for resin:import.
at com.caucho.config.ConfigException.create(ConfigException.java:99)
at com.caucho.config.ConfigException.create(ConfigException.java:130)
at com.caucho.config.j2ee.PostConstructProgram.inject(PostConstructProgram.java:142)
at com.caucho.config.type.InlineBeanType.init(InlineBeanType.java:458)
at com.caucho.config.xml.XmlConfigContext.configureChildBean(XmlConfigContext.java:705)
at com.caucho.config.xml.XmlConfigContext.configureBeanProperties(XmlConfigContext.java:686)
at com.caucho.config.xml.XmlConfigContext.configureChildNode(XmlConfigContext.java:464)
… 10 more
Caused by: com.caucho.config.ConfigException: Required file ‘c:\Users\admin\AppData\Local\Temp\cluster-default.xml’ can not be read for resin:import.
at com.caucho.config.core.ResinImport.initImpl(ResinImport.java:129)
at com.caucho.config.core.ResinImport.init(ResinImport.java:107)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.caucho.config.j2ee.PostConstructProgram.inject(PostConstructProgram.java:140)
… 14 more
c:\Users\admin\AppData\Local\Temp\resin.conf:10: com.caucho.config.core.ResinImport.init(): Required file ‘c:\Users\admin\AppData\Local\Temp\cluster-default.xml’ can not be read for resin:import.

8: 
9: 
10: 
11: 
12: 

上面是报错信息。

 

解决方法:

技术笔记:解决Idea中启动Resin,报错:Required file ‘c:\Users\admin\AppData\Local\Temp\cluster-default.xml’ can not_第1张图片

按照图片中的要求修改,问题就可以解决了。

你可能感兴趣的:(idea,java,resin,resin,idea,java)