求助struts-default.xml - [unknown location] [问题点数:40分]

Bbs1
本版专家分:0
结帖率 0%
Bbs7
本版专家分:18123
Blank
红花 2010年6月 Java大版内专家分月排行榜第一
Bbs6
本版专家分:5277
Blank
GitHub 绑定GitHub第三方账户获取
Bbs1
本版专家分:0
Bbs7
本版专家分:18123
Blank
红花 2010年6月 Java大版内专家分月排行榜第一
Bbs1
本版专家分:0
Bbs7
本版专家分:18123
Blank
红花 2010年6月 Java大版内专家分月排行榜第一
Bbs1
本版专家分:0
Bbs1
本版专家分:0
Bbs1
本版专家分:20
Bbs1
本版专家分:0
struts2-core-2.3.4.jar!/struts-default.xml:32:127
小弟正在学ssh,为了使用全注解,花了不少功夫。rn现在老是出这个问题,lib中只有没有其它冲突的包,高手帮忙解决一下rnrn2012<em>-</em>08<em>-</em>03 20:21:54 [main:7343] <em>-</em> [ERROR] Dispatcher initialization failedrnUnable to load configuration. <em>-</em> bean <em>-</em> jar:file:/D:/apache<em>-</em>tomcat<em>-</em>6.0.20/webapps/myssh/WEB<em>-</em>INF/lib/struts2<em>-</em>core<em>-</em>2.3.4.jar!/<em>struts<em>-</em>default</em>.<em>xml</em>:32:127rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:437)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3800)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4450)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:987)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:583)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: Unable to load bean: type:com.opensymphony.xwork2.FileManager class:com.opensymphony.xwork2.util.fs.DefaultFileManager <em>-</em> bean <em>-</em> jar:file:/D:/apache<em>-</em>tomcat<em>-</em>6.0.20/webapps/myssh/WEB<em>-</em>INF/lib/struts2<em>-</em>core<em>-</em>2.3.4.jar!/<em>struts<em>-</em>default</em>.<em>xml</em>:32:127rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:232)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:180)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn ... 31 morernCaused by: java.lang.ClassNotFoundException: com.opensymphony.xwork2.util.fs.DefaultFileManagerrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)rn at com.opensymphony.xwork2.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:157)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:203)rn ... 34 morern2012<em>-</em>8<em>-</em>3 20:21:54 org.apache.catalina.core.StandardContext filterStartrn严重: Exception starting filter struts2rnUnable to load configuration. <em>-</em> bean <em>-</em> jar:file:/D:/apache<em>-</em>tomcat<em>-</em>6.0.20/webapps/myssh/WEB<em>-</em>INF/lib/struts2<em>-</em>core<em>-</em>2.3.4.jar!/<em>struts<em>-</em>default</em>.<em>xml</em>:32:127rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:450)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3800)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4450)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:987)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:583)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: Unable to load configuration. <em>-</em> bean <em>-</em> jar:file:/D:/apache<em>-</em>tomcat<em>-</em>6.0.20/webapps/myssh/WEB<em>-</em>INF/lib/struts2<em>-</em>core<em>-</em>2.3.4.jar!/<em>struts<em>-</em>default</em>.<em>xml</em>:32:127rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:437)rn ... 29 morernCaused by: Unable to load bean: type:com.opensymphony.xwork2.FileManager class:com.opensymphony.xwork2.util.fs.DefaultFileManager <em>-</em> bean <em>-</em> jar:file:/D:/apache<em>-</em>tomcat<em>-</em>6.0.20/webapps/myssh/WEB<em>-</em>INF/lib/struts2<em>-</em>core<em>-</em>2.3.4.jar!/<em>struts<em>-</em>default</em>.<em>xml</em>:32:127rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:232)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:180)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn ... 31 morernCaused by: java.lang.ClassNotFoundException: com.opensymphony.xwork2.util.fs.DefaultFileManagerrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)rn at com.opensymphony.xwork2.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:157)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:203)rn ... 34 morern2012<em>-</em>08<em>-</em>03 20:21:54 [main:7359] <em>-</em> [DEBUG] Initializing filter 'OpenSessionInViewFilter'rn2012<em>-</em>08<em>-</em>03 20:21:54 [main:7390] <em>-</em> [DEBUG] Filter 'OpenSessionInViewFilter' configured successfullyrn2012<em>-</em>8<em>-</em>3 20:21:54 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2012<em>-</em>8<em>-</em>3 20:21:54 org.apache.catalina.core.StandardContext startrn严重: Context [/myssh] startup failed due to previous errorsrn2012<em>-</em>8<em>-</em>3 20:21:54 org.apache.catalina.core.ApplicationContext log
struts-default.xml配置文件解析
在核心jar包里面的配置文件 1. 一些框架内的bean 2. 默认的package 包含结果集
struts2中的struts-default.xml
struts2中的<em>struts<em>-</em>default</em>.<em>xml</em>
Struts2中的struts-default.xml的问题
我看到struts2中默认的配置文件里面很多name属性同名的这不会引起冲突么?他怎么知道我以后要用来重写某些属性的时候是重写的哪一个呢?rn rnrn rn rn比如以上这个<em>struts<em>-</em>default</em>.<em>xml</em>片段,其中就有两个的name都是strutsrnrn另一个问题是struts2的spring<em>-</em>plugin中的配置文件rn rn rn这个是覆盖的哪个了,我怎么在<em>struts<em>-</em>default</em>.<em>xml</em>里面没有找到name是struts.objectFactory的属性。
菜鸟求助 环信 Unknown Source
E/AndroidRuntime: FATAL EXCEPTION: mainrn java.lang.RuntimeException: Unable to start activity ComponentInfocom.example.mvcqq/com.example.mvcqq.view.SplashActivity: java.lang.NullPointerExceptionrn at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)rn at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)rn at android.app.ActivityThread.access$600(ActivityThread.java:141)rn at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)rn at android.os.Handler.dispatchMessage(Handler.java:99)rn at android.os.Looper.loop(Looper.java:137)rn at android.app.ActivityThread.main(ActivityThread.java:5041)rn at java.lang.reflect.Method.invokeNative(Native Method)rn at java.lang.reflect.Method.invoke(Method.java:511)rn at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)rn at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)rn at dalvik.system.NativeStart.main(Native Method)rn Caused by: java.lang.NullPointerExceptionrn at android.preference.PreferenceManager.getDefaultSharedPreferencesName(PreferenceManager.java:371)rn at android.preference.PreferenceManager.getDefaultSharedPreferences(PreferenceManager.java:366)rn at com.hyphenate.chat.EMSessionManager.getLastLoginUser(Unknown Source)rn at com.hyphenate.chat.EMClient.isLoggedInBefore(Unknown Source)rn at com.example.mvcqq.view.SplashActivity.onCreate(SplashActivity.java:26)rn at android.app.Activity.performCreate(Activity.java:5104)rn at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)rn at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)rn at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230) rn at android.app.ActivityThread.access$600(ActivityThread.java:141) rn at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234) rn at android.os.Handler.dispatchMessage(Handler.java:99) rn at android.os.Looper.loop(Looper.java:137) rn at android.app.ActivityThread.main(ActivityThread.java:5041) rn at java.lang.reflect.Method.invokeNative(Native Method) rn at java.lang.reflect.Method.invoke(Method.java:511) rn at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) rn at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) rn at dalvik.system.NativeStart.main(Native Method) 
求助:org.hibernate.MappingException: Unknown entity:
异常错误如:org.hibernate.MappingException: Unknown entity: com.xdtech.platform.domain.model.user.xkqrnrnrn求高手帮忙解决,。。是不是还有什么地方没有配置到哦!!!rn我 的applicationContext.<em>xml</em>配置文件如下rn[code=XML]rnrn rn rn rn rn rn rn rn rn rn rnrn rn rn rn rn rn rn rn rn rn 1800rn 2rn 0rn 2rn 1800rn 30rn falsernrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn com.xdtech.platform.domain.model.user.Userrn com.xdtech.platform.domain.model.user.UserInfGrouprn com.xdtech.platform.domain.model.user.xkqrn rn rn rn rn rn rn rn rn rn rn rn rnrn rn rn rn rn rn rn PROPAGATION_REQUIRED,<em>-</em>Exceptionrn PROPAGATION_REQUIRED,<em>-</em>Exceptionrn PROPAGATION_REQUIRED,<em>-</em>Exceptionrn PROPAGATION_REQUIRED,<em>-</em>Exceptionrn PROPAGATION_REQUIRED,readOnlyrn PROPAGATION_REQUIRED,<em>-</em>Exceptionrn PROPAGATION_REQUIRED,<em>-</em>Exceptionrn PROPAGATION_SUPPORTSrn rn rn rnrn rn rn rn com.xdtech.platform.web.actions*rn rn rn rn rn transactionInterceptorrn rn rn rnrn rn rn rnrn rnrn rn rn 8011rn rn rn rnrnrn[/code]
求助:org.hibernate.MappingException: Unknown entity:XXX
出现的异常:rnException in thread "main" org.hibernate.MappingException: Unknown entity: TblQxrn at org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:628)rn at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:91)rn at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:906)rn at org.hibernate.impl.SessionImpl.get(SessionImpl.java:843)rn at com.entity.TblQxDAO.findById(TblQxDAO.java:51)rn at Test.main(Test.java:44)rnrnrn编写的源代码:rnrnTblQx实体类:rnrnpackage com.entity;rnimport javax.persistence.Entity;rnimport javax.persistence.GeneratedValue;rnimport javax.persistence.Id;rnrn@Entityrnpublic class TblQx implements java.io.Serializable rn private Integer qxId;rn private String qxName;rnrn public TblQx() rn rnrn @Idrn @GeneratedValuern public Integer getQxId() rn return this.qxId;rn rn rn public void setQxId(Integer qxId) rn this.qxId = qxId;rn rnrn public String getQxName() rn return this.qxName;rn rn rn public void setQxName(String qxName) rn this.qxName = qxName;rn rnrnrnrnmain方法的Test类:rnrnimport com.entity.TblQx;rnimport com.entity.TblQxDAO;rnrnrnpublic class Test rnrn /**rn * @param argsrn */rnrn public static void main(String[] args) rn TblQxDAO qxdao = new TblQxDAO();rn TblQx qx = new TblQx();rnrn qx=qxdao.findById(1);rn System.out.println(qx);rn rnrnrn用的DAO 和HibernateSessionFactory.java 都是MyEclipse自动生成的rnrnhibernate.cfg.<em>xml</em> 的配置:rnrnrnrnrnrnrn rn org.hibernate.dialect.MySQLDialectrn truern jdbc:mysql://localhost:3306/testrn rootrn 1234rn com.mysql.jdbc.Driverrn MySQL5_Testrnrn rn rnrnrnrnrn我使用的是Annotation ,<em>求助</em>各位大侠帮帮忙,查了一个小时的Google、baidu了,还是找不到原因。
struts2.3纠缠了几天,unknown location,找不到Action问题
Myeclipes引入struts2.3的包,网上有详细教程,不在累述。 按照教程,部署好struts2,开始helloworld之旅,tomcat不停报错,都是同一问题。找不到对应action,从头检查web.<em>xml</em>,struts.<em>xml</em>,没问题啊。查看日志报错记录,注一下公司项目都要求写系统日志,甚至有些大组还有专门的日志工程师。养成良好的日志习惯,调试起来事半功倍 。 百度了无数,什么引
ssh整合错误:Unable to load configuration. - [unknown location]
[code=Java]rn2010<em>-</em>4<em>-</em>2 20:15:08 org.apache.catalina.core.AprLifecycleListener initrn信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: G:\Program Files\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;G:\Program Files\Genuitec\Common\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_8.5.0.me201003121946\tomcat\binrn2010<em>-</em>4<em>-</em>2 20:15:08 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http<em>-</em>8080rn2010<em>-</em>4<em>-</em>2 20:15:08 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 1160 msrn2010<em>-</em>4<em>-</em>2 20:15:08 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2010<em>-</em>4<em>-</em>2 20:15:08 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.13rn2010<em>-</em>4<em>-</em>2 20:15:12 org.apache.catalina.core.ApplicationContext logrn信息: Initializing Spring root WebApplicationContextrn2010<em>-</em>04<em>-</em>02 20:15:27,906 ERROR [org.apache.struts2.dispatcher.Dispatcher] <em>-</em> Dispatcher initialization failedrnUnable to load configuration. <em>-</em> [<em>unknown</em> <em>location</em>]rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:418)rn at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:190)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: Cannot locate the chosen ObjectFactory implementation: spring <em>-</em> [<em>unknown</em> <em>location</em>]rn at org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:293)rn at org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:264)rn at org.apache.struts2.config.BeanSelectionProvider.register(BeanSelectionProvider.java:203)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:169)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)rn ... 30 morern2010<em>-</em>4<em>-</em>2 20:15:27 org.apache.catalina.core.StandardContext filterStartrn严重: Exception starting filter struts2rnUnable to load configuration. <em>-</em> [<em>unknown</em> <em>location</em>]rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:431)rn at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:190)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: Unable to load configuration. <em>-</em> [<em>unknown</em> <em>location</em>]rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:418)rn ... 28 morernCaused by: Cannot locate the chosen ObjectFactory implementation: spring <em>-</em> [<em>unknown</em> <em>location</em>]rn at org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:293)rn at org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:264)rn at org.apache.struts2.config.BeanSelectionProvider.register(BeanSelectionProvider.java:203)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:169)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)rn ... 30 morern2010<em>-</em>4<em>-</em>2 20:15:27 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2010<em>-</em>4<em>-</em>2 20:15:27 org.apache.catalina.core.StandardContext startrn严重: Context [/blog] startup failed due to previous errorsrn2010<em>-</em>4<em>-</em>2 20:15:27 org.apache.catalina.core.ApplicationContext logrn信息: Closing Spring root WebApplicationContextrnlog4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.rn2010<em>-</em>4<em>-</em>2 20:15:29 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http<em>-</em>8080rn2010<em>-</em>4<em>-</em>2 20:15:29 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2010<em>-</em>4<em>-</em>2 20:15:29 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/125 config=nullrn2010<em>-</em>4<em>-</em>2 20:15:29 org.apache.catalina.startup.Catalina startrn信息: Server startup in 21497 msrnrnrn[/code]rnrn版本:rnspring:3.0.1 rnhibernate:3.3 rnstruts:2.1.8
SSH问题,There is no Action mapped for action name null. - [unknown location]
index.jsp页面如下:rn[code=javascript]rn rn rn 姓 名:rn rn 密 码:rn rn rn rn 找回密码rn 注册rn rn rn[/code]rnweb.<em>xml</em>如下:rn[code=java]rn rn index.jsprn rn rn rn UpLoadPicrn com.poscard.Util.UpLoadPicrn rn rn UpLoadPicrn /UpLoadPic1rn rn rn rn struts2rn org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilterrn rn rn struts2rn /*rn rnrnrnrn rn rn rn rn org.springframework.web.context.ContextLoaderListenerrn rn rn rn rn contextConfigLocationrn rn classpath:/beans.<em>xml</em>rn rn rn[/code]rnrn现在的问题是,当我点击注册超链接时,会跳转到reg.jsp。但是后台报错:rn[code=java]rn[http<em>-</em>8099<em>-</em>1] WARN org.apache.struts2.dispatcher.Dispatcher <em>-</em> Could not find action or resultrnThere is no Action mapped for action name null. <em>-</em> [<em>unknown</em> <em>location</em>]rn at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:177)rn at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:61)rn at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)rn at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:47)rn at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:458)rn at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:76)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn at java.lang.Thread.run(Thread.java:662)rnrn[/code]
求助:Unknown collation 'gbk_chinese_ci' in table
将数据库文件打包成zip形式之后,传到linux服务器上rn访问页面时,出现这样的问题rnUnknown collation 'gbk_chinese_ci' in table 'law_homepageset.frm' definition <em>-</em> Execute Query False! Select * From law_homepageset limit 0,1;rnrn请问这是怎么了 ?未知校队字符集? 等高手帮忙解决
struts-default.xml配置文件中的bean配置
<em>struts<em>-</em>default</em>.<em>xml</em>配置文件中的bean配置   &amp;lt;bean class=&quot;com.opensymphony.xwork2.ObjectFactory&quot; name=&quot;xwork&quot; /&amp;gt;     &amp;lt;bean type =&quot;com.opensymphony.xwork2.ObjectFactory&quot; name =&quot;struts&quot; class =&quot;org.
Struts-default.xml中拦截器个数
内部总共有34个拦截器defaultStack有19个拦截器
Eclipse插件安装 duplicate location求助
下载了插件site包并在eclipse中安装rnrn如果我卸载了这个插件重新安装,或者安装中取消了,那么再进行安装时指定该插件包路径时,就会提示Duplicate Location错误,就再也不能装了。rnrn这个问题之前也遇见过,上网看了看也有别人遇见过,所以应该不是个生僻的问题。rnrn求解决方法~~~rn(删eclipse重装之类说不清原因的回答就不用了)rnrn非常感谢!~
struts2和hibernate整合 Unable to load configuration. - [unknown location]
2012<em>-</em>3<em>-</em>17 22:32:40 com.opensymphony.xwork2.util.logging.commons.CommonsLogger errorrn严重: Dispatcher initialization failedrnUnable to load configuration. <em>-</em> [<em>unknown</em> <em>location</em>]rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:436)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3709)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4356)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:924)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:887)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:578)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
Location
想做一个ErrorPage.aspx文件,作用是其他页面出错的将用户引到这一页,告诉其出错信息(由出错页将参数传递给ErrorPage.aspx)。现在,需要在ErrorPage.aspx上出现一个链接,可以将用户引回到前一页,相当于用户点击了浏览器的“后退”按钮。该如何做?
$location
课程中Wos老师用抽丝剥茧的方式,巧妙的讲解AngulaJS的各种特性,把实例与枯燥的函数相互融合。更多的融合“大前端”的概念。帮助朋友们更好的理解AngulaJS。
location
Java大数据培训学校视频课程:"java大数据培训学校全套教材"系列课程由750集视频构成,基本就 是1)时下流行的java培训学校主流内部教材,2)和市面上培训学校的通 行的课程体系几乎一样。所以这套课程都能自己学下来,等于上了培训学 校一次,完全可以找个java工程师的工作了。 本门课程为"java大数据培训学校全套教材"系列课程的第二十四篇,学习setInterva,setTimeout,窗口及frame等概念。
求助,用struts2配置了多个struts.xml,可是提示There is no Action mapped for namespace / and action name test. - [unknown location]
struts.<em>xml</em>文件如下rnrnrnrnrn rnrnrnrnstruts1.<em>xml</em>文件如下rnrnrnrnrn rn rn /hello.jsprn rn rn /test.jsprn rn rnrnrnrn我一运行127.0.0.1/s2/test.action 就提示了提示There is no Action mapped for namespace / and action name test. <em>-</em> [<em>unknown</em> <em>location</em>]rnrnrn以前把struts1.<em>xml</em>文件弄到struts里就可以的,现在分开了就不可以了,不知道为什么
求助关于NHibernate错误-----Unknown entity class
Unknown entity class: NhibernateSample1.Personrnrn用过的大侠请你指点一二吧.为啥在:rnISessionFactory Factory = cfg.BuildSessionFactory();rnrnrn ISession session = Factory.OpenSession();rn ITransaction trans = session.BeginTransaction();rn session.Save(ps);//这一步就报错rn
求助! stop:c0000139 unknown hard error
昨晚正常关机.今早启动系统<em>-</em><em>-</em><em>-</em>windows 2000 server,蓝屏,出现错误报告<em>-</em><em>-</em><em>-</em>stop:c0000139 <em>unknown</em> hard error.重新启动,如故.我该怎么办?谢谢rnrn不要埋怨我问错了地方.操作系统版没人回贴,又急!知道这里高手多.见谅
求助Unknown table 'book' in field list
Unknown table 'book' in field listrnrnrnrnrn sqlStr="select book.id,book.bookname,book.bookclass,bookclass.classname,"+rnrn "book.author,book.publish,book.bookno,book.content,book.prince,book.amount,"+rnrn "book.Leav_number,book.regtime,book.picturefrombook,bookclass"+rnrn "wherebook.Bookclass=bookclass.Id";
求助:stop: c0000221 unknown hard error ?
蓝屏,rn\System Root\System32\ntdll.dllrn这大概是什么问题?rnrn
紧急求助“c000021a unknown hard error”
进入windows 2003 ad server 蓝屏(重启也这样) 提示: rnSTOP:C000021a <em>unknown</em> Hard error rn<em>unknown</em> Hard error
迷惑的Unknown symbol kallsyms_lookup_name问题,求助
小弟刚刚接触内核,在调试插入模块的时候遇到问题,郁闷了好几天都无法解决rn代码是从kprobe官网下载的实例代码rn========================================================rn/* kprobe<em>-</em>exam.c */rn#include rn#include rn#include rn#include rn#include rn#include rnstatic struct kprobe kp;rnstatic struct timeval start, end;rnstatic int schedule_counter = 0;rnint handler_pre(struct kprobe *p, struct pt_regs *regs)rnrn printk("current task on CPU#%d: %s (before scheduling), preempt_count = %d\n", smp_processor_id(), current<em>-</em>>comm, preempt_count());rn schedule_counter++;rn return 0;rnrnrnvoid handler_post(struct kprobe *p, struct pt_regs *regs, unsigned long flags)rnrn printk("current task on CPU#%d: %s (after scheduling), preempt_count = %d\n", smp_processor_id(), current<em>-</em>>comm, preempt_count());rnrnrnint handler_fault(struct kprobe *p, struct pt_regs *regs, int trapnr)rnrn printk("A fault happened during probing.\n");rn return 0;rnrnrnint init_module(void)rnrn int ret;rnrn kp.pre_handler = handler_pre;rn kp.post_handler = handler_post;rn kp.fault_handler = handler_fault;rn kp.addr = (kprobe_opcode_t*) kallsyms_lookup_name("schedule");rn rn if (!kp.addr) rn printk("Couldn't get the address of schedule.\n");rn return <em>-</em>1;rn rnif ((ret = register_kprobe(&kp) < 0)) rn printk("register_kprobe failed, returned %d\n", ret);rn return <em>-</em>1;rn rnrn do_gettimeofday(&start);rnrn printk("kprobe registered\n");rn return 0;rnrnrnvoid cleanup_module(void)rnrn unregister_kprobe(&kp);rn do_gettimeofday(&end);rn printk("Scheduling times is %d during of %ld milliseconds.\n", schedule_counter, ((end.tv_sec <em>-</em> start.tv_sec)*1000000 + (end.tv_usec <em>-</em> start.tv_usec))/1000);rn printk("kprobe unregistered\n");rnrnrnMODULE_LICENSE("GPL");rn===============================================================rn小弟使用的是红帽linux内核是2.6.26.8 系统是64位的rn曾经在fedro的linux 2.6.26.8 的32位系统上实验报的是同样的错误rn在config中查看rnconfig_kallsyms=yrnconfig_kallsyms_all=yrn但make生成 .ko文件后,插入模块还是提示一下错误:rn[root@localhost sj]# insmod kprobe<em>-</em>exam.korninsmod: error inserting 'kprobe<em>-</em>exam.ko': <em>-</em>1 Unknown symbol in modulern[root@localhost sj]# dmesgrnkprobe_exam: Unknown symbol kallsyms_lookup_namern在#include 头文件中明显看到rnkallsyms_lookup_name的定义,为何无法调用,小弟至今不解,恳求各位大大帮忙rn
菜鸟求助 Unknown Source 怎么解决?
Exception in thread "AWT<em>-</em>EventQueue<em>-</em>0" java.lang.NullPointerExceptionrn at main.Login$1.actionPerformed(Login.java:110)rn at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)rn at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)rn at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)rn at javax.swing.DefaultButtonModel.setPressed(Unknown Source)rn at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)rn at java.awt.Component.processMouseEvent(Unknown Source)rn at javax.swing.JComponent.processMouseEvent(Unknown Source)rn at java.awt.Component.processEvent(Unknown Source)rn at java.awt.Container.processEvent(Unknown Source)rn at java.awt.Component.dispatchEventImpl(Unknown Source)rn at java.awt.Container.dispatchEventImpl(Unknown Source)rn at java.awt.Component.dispatchEvent(Unknown Source)rn at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)rn at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)rn at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)rn at java.awt.Container.dispatchEventImpl(Unknown Source)rn at java.awt.Window.dispatchEventImpl(Unknown Source)rn at java.awt.Component.dispatchEvent(Unknown Source)rn at java.awt.EventQueue.dispatchEvent(Unknown Source)rn at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)rn at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)rn at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)rn at java.awt.EventDispatchThread.pumpEvents(Unknown Source)rn at java.awt.EventDispatchThread.pumpEvents(Unknown Source)rn at java.awt.EventDispatchThread.run(Unknown Source)
STOP:C000021a unknown hard error 错误求助~~~~~
我的机子是IBM X31,安装的是XP Professional系统,今天开机进入系统后,进入“我的电脑”,打开任何盘都无响应,重启机器时,在系统提示“正在关闭系统”与最后关机之前会出现暂短蓝屏,提示STOP:C000021a <em>unknown</em> hard error。即便选择“关机”而不是“重启”,也会出现这个错误提示并直接重启而不是正常关机。rnrn这两天进行过的可疑操作包括:rn1,前天使用BT下载时机器死机,重启后BT软件无法启动和删除;无其它症状。rn2,今天开机就插入优盘,系统并未检测出优盘,并出现如上错误。按照在CSDN上找到的相关贴子,进入BIOS关闭USB,仍然不行。rnrn请高手帮忙找出错误所在和解决办法,多谢多谢!!!
菜鸟求助:Unknown character set: 'dos' 错误
将《精通Hibernate》书中光盘源码在Eclipse3.1中调了大半天,还找了几个同事,都没有解决这个问题,请大家帮忙看看,异常信息如下:rnrn10:19:43,463 INFO Environment:483 <em>-</em> Hibernate 2.1.8rn10:19:43,479 INFO Environment:517 <em>-</em> loaded properties from resource hibernate.properties: hibernate.connection.username=root, hibernate.connection.password=ideal, hibernate.cglib.use_reflection_optimizer=true, hibernate.dialect=net.sf.hibernate.dialect.MySQLDialect, hibernate.show_sql=true, hibernate.connection.url=jdbc:mysql://localhost:3306/SAMPLEDB, hibernate.connection.driver_class=com.mysql.jdbc.Driverrn10:19:43,479 INFO Environment:543 <em>-</em> using CGLIB reflection optimizerrn10:19:43,479 INFO Environment:572 <em>-</em> using JDK 1.4 java.sql.Timestamp handlingrn10:19:43,494 INFO Configuration:909 <em>-</em> configuring from resource: /hibernate.cfg.<em>xml</em>rn10:19:43,494 INFO Configuration:881 <em>-</em> Configuration resource: /hibernate.cfg.<em>xml</em>rn10:19:43,978 INFO Configuration:332 <em>-</em> Mapping resource: mypack/Customer.hbm.<em>xml</em>rn10:19:44,119 INFO Binder:229 <em>-</em> Mapping class: mypack.Customer <em>-</em>> CUSTOMERSrn10:19:44,197 INFO Configuration:1067 <em>-</em> Configured SessionFactory: nullrn10:19:44,197 INFO Configuration:641 <em>-</em> processing one<em>-</em>to<em>-</em>many association mappingsrn10:19:44,197 INFO Configuration:650 <em>-</em> processing one<em>-</em>to<em>-</em>one association property referencesrn10:19:44,197 INFO Configuration:675 <em>-</em> processing foreign key constraintsrn10:19:44,228 INFO Dialect:86 <em>-</em> Using dialect: net.sf.hibernate.dialect.MySQLDialectrn10:19:44,244 INFO SettingsFactory:70 <em>-</em> Maximim outer join fetch depth: 2rn10:19:44,244 INFO SettingsFactory:74 <em>-</em> Use outer join fetching: truern10:19:44,259 INFO DriverManagerConnectionProvider:42 <em>-</em> Using Hibernate built<em>-</em>in connection pool (not for production use!)rn10:19:44,259 INFO DriverManagerConnectionProvider:43 <em>-</em> Hibernate connection pool size: 20rn10:19:44,259 INFO DriverManagerConnectionProvider:77 <em>-</em> using driver: org.gjt.mm.mysql.Driver at URL: jdbc:mysql://localhost:3306/SAMPLEDBrn10:19:44,259 INFO DriverManagerConnectionProvider:78 <em>-</em> connection properties: user=root, password=idealrn10:19:44,275 INFO TransactionManagerLookupFactory:33 <em>-</em> No TransactionManagerLookup configured (in JTA environment, use of process level read<em>-</em>write cache is not recommended)rn10:19:44,556 WARN SettingsFactory:107 <em>-</em> Could not obtain connection metadatarnjava.sql.SQLException: Unknown character set: 'dos'rn at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2847)rn at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1531)rn at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1622)rn at com.mysql.jdbc.Connection.execSQL(Connection.java:2370)rn at com.mysql.jdbc.Connection.configureClientCharacterSet(Connection.java:3033)rn at com.mysql.jdbc.Connection.initializePropsFromServer(Connection.java:3215)rn at com.mysql.jdbc.Connection.createNewIO(Connection.java:1780)rn at com.mysql.jdbc.Connection.(Connection.java:430)rn at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:268)rn at java.sql.DriverManager.getConnection(DriverManager.java:512)rn at java.sql.DriverManager.getConnection(DriverManager.java:140)rn at net.sf.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:101)rn at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:84)rn at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1172)rn at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:803)rn at mypack.BusinessService.(BusinessService.java:20)rn10:19:44,556 INFO SettingsFactory:114 <em>-</em> Use scrollable result sets: falsern10:19:44,556 INFO SettingsFactory:117 <em>-</em> Use JDBC3 getGeneratedKeys(): falsern10:19:44,556 INFO SettingsFactory:120 <em>-</em> Optimize cache for minimal puts: falsern10:19:44,556 INFO SettingsFactory:126 <em>-</em> echoing all SQL to stdoutrn10:19:44,556 INFO SettingsFactory:129 <em>-</em> Query language substitutions: rn10:19:44,556 INFO SettingsFactory:140 <em>-</em> cache provider: net.sf.hibernate.cache.EhCacheProviderrn10:19:44,571 INFO Configuration:1130 <em>-</em> instantiating and configuring cachesrn10:19:44,587 WARN Configurator:125 <em>-</em> No configuration found. Configuring ehcache from ehcache<em>-</em>failsafe.<em>xml</em> found in the classpath: jar:file:/E:/Projects/Test/WebRoot/WEB<em>-</em>INF/lib/ehcache<em>-</em>0.9.jar!/ehcache<em>-</em>failsafe.<em>xml</em>rn10:19:44,743 INFO SessionFactoryImpl:119 <em>-</em> building session factoryrn10:19:45,102 INFO SessionFactoryObjectFactory:82 <em>-</em> Not binding factory to JNDI, no JNDI name configuredrn10:19:45,180 WARN JDBCExceptionReporter:57 <em>-</em> SQL Error: 1115, SQLState: 42000rn10:19:45,180 ERROR JDBCExceptionReporter:58 <em>-</em> Unknown character set: 'dos'rnnet.sf.hibernate.exception.GenericJDBCException: Cannot open connectionrn at net.sf.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:90)rn at net.sf.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java:79)rn at net.sf.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)rn at net.sf.hibernate.impl.BatcherImpl.convert(BatcherImpl.java:328)rn at net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:295)rn at net.sf.hibernate.impl.SessionImpl.connect(SessionImpl.java:3373)rn at net.sf.hibernate.impl.SessionImpl.connection(SessionImpl.java:3333)rn at net.sf.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:40)rn at net.sf.hibernate.transaction.JDBCTransactionFactory.beginTransaction(JDBCTransactionFactory.java:19)rn at net.sf.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:2252)rn at mypack.BusinessService.saveCustomer(BusinessService.java:54)rn at mypack.BusinessService.test(BusinessService.java:184)rn at mypack.BusinessService.main(BusinessService.java:194)rnCaused by: java.sql.SQLException: Unknown character set: 'dos'rn at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2847)rn at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1531)rn at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1622)rn at com.mysql.jdbc.Connection.execSQL(Connection.java:2370)rn at com.mysql.jdbc.Connection.configureClientCharacterSet(Connection.java:3033)rn at com.mysql.jdbc.Connection.initializePropsFromServer(Connection.java:3215)rn at com.mysql.jdbc.Connection.createNewIO(Connection.java:1780)rn at com.mysql.jdbc.Connection.(Connection.java:430)rn at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:268)rn at java.sql.DriverManager.getConnection(DriverManager.java:512)rn at java.sql.DriverManager.getConnection(DriverManager.java:140)rn at net.sf.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:101)rn at net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:292)rn ... 8 morernException in thread "main"
新人求助,hibernate的Unknown entity问题
[code=java]rnpackage com.atsp.hibernate.helloworld;rnrnimport java.sql.Date;rnrnimport org.hibernate.Session;rnimport org.hibernate.SessionFactory;rnimport org.hibernate.Transaction;rnimport org.hibernate.boot.registry.StandardServiceRegistry;rnimport org.hibernate.boot.registry.StandardServiceRegistryBuilder;rnimport org.hibernate.cfg.Configuration;rnimport org.junit.Test;rnrnrnpublic class HibernateTest rnrn @Testrn public void test() rn System.out.println("test....");rn //创建回话工厂对象rn SessionFactory sessionFactory = null;rn //创建配置对象rn Configuration configuration = new Configuration().configure();rn rn //创建StandardServiceRegistry 对象,最新的hibernate使用 的方法rn //hibernate的任何配置和服务都需要在该对象中注册后才能实现rnrn StandardServiceRegistryBuilder standardServiceRegistryBuilder = rn new StandardServiceRegistryBuilder().applySettings(configuration.getProperties());rn StandardServiceRegistry standardServiceRegistry = standardServiceRegistryBuilder.build();rn sessionFactory = configuration.buildSessionFactory(standardServiceRegistry);rn Session session = sessionFactory.openSession();rn Transaction transaction = session.beginTransaction();rn News news = new News("java","ATSP",new Date(new java.util.Date().getTime()));rn System.out.println(news);rn session.save(news);rn transaction.commit();rn session.close();rn sessionFactory.close();rn rnrnrn上面是测试类rn[/code]rnrnrn[code=java]rnrnrnrnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrnrnrn[/code]rn以上是News.hbm.<em>xml</em>配置文件rnrn[code=java]rnrnrnrn rn rn rootrn 123rn com.mysql.jdbc.Driverrn jdbc:mysql:///bookstorern rn rn rn org.hibernate.dialect.MySQLInnoDBDialectrnrn rn truern rn truern rn rn updaternrn rn rn rn rnrn[/code]rn以上是hibernate.cfg.<em>xml</em>rn[code=java]rnpackage com.atsp.hibernate.helloworld;rnrnimport java.sql.Date;rnrnpublic class News rn private Integer id;rn private String title;rn private String author;rn rn private Date date;rn[/code]rnnews基本类rn运行测试类报Unknown entity: com.atsp.hibernate.helloword.News,实在不知道哪里错了,求大神指点。
求助 Access violation reading location 0xfeeefeee.
在编写FTP文件上传时,编译通过,但运行出现错误,单步调试确定问题出现在“if(pFtpConnection<em>-</em>>PutFile("D:\\server","server"))”,错误显示“ Access violation reading <em>location</em> 0xfeeefeee.ASSERT_VALID fails with illegal vtable pointer.”rn一直没整出来,很急,谢谢哪位高手指点一下
求助 1054 - Unknown column '*' in 'where clause'的问题
想从第二张表中取值为第一张表的某些字段赋值,频频报1054错误,找不到字段名称,其中amount_compare,amount_20140630是两张表,ibk_name是两张表都拥有的字符型字段,具体代码如下,请帮忙看看。rn数据库是mysql 5.6.19 rnrnmysql> INSERT INTO amount_compare (custom_count_20140630,amount_20140630,rate_20140630) select custom_count as custom_count_20140630,amount as amount_20140630,rate as rate_20140630 from amount_20140630 where amount_compare.ibk_name=amount_20140630.ibk_name;rn1054 <em>-</em> Unknown column 'amount_compare.ibk_name' in 'where clause'
求助location为空,无法获取地理位置
书上还有网上,在谷歌官方的api文档的代码都尝试了还是无法获得rn[code=Java]rn LocationManager locManager=(LocationManager)getSystemService(Context.LocationService);rn Criteria criteria=new Criteria();rn criteria.setAccuracy(Criteria.ACCURACY_FINE);rn criteria.setPowerRequirement(Criteria.POWER_LOW);rn criteria.setAltitudeRequired(false);rn criteria.setBearingRequired(false);rn criteria.setCostAllowed(false);//不需要花钱rn String provider=locManager.getBestProvider(criteria, true);//addGpsStatusListener(listener);rn Location <em>location</em>=locManager.getLastKnownLocation(provider);rn locManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 1000, 10, listener);[/code]rn这个方法无法获取到,后面的locManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 1000, 10, listener);这个请求更新,根本就没有调用listener里面的代码rnrn[code=Java]LocationManager <em>location</em>Manager = (LocationManager)this.getSystemService(Context.LOCATION_SERVICE);rn // Define a listener that responds to <em>location</em>updatesrn LocationProvider provider=<em>location</em>Manager.getProvider(LocationManager.NETWORK_PROVIDER);rn LocationListener <em>location</em>Listener = new LocationListener() public void onLocationChanged(Location <em>location</em>) // Called when a new <em>location</em> is found by the network rn makeUseOfNewLocation(<em>location</em>); public void onStatusChanged(String provider, int status, Bundle extras) public void onProviderEnabled(String provider) public void onProviderDisabled(String provider) ;rn rn // Register the listener with the Location Manager to receive <em>location</em> updatesrn <em>location</em>Manager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, <em>location</em>Listener);[/code]rn谷歌的这个也没法获取到,不过去奇怪的是我的1.6的手机可以获取位置,但是2.1的都获取不到!rnrn<em>求助</em>啊,<em>求助</em>啊rn
struts2中 struts-default.xml在哪个位置?哪个包下?
<em>-</em>
Unknown Treasure
Problem DescriptionnOn the way to the next secret treasure hiding place, the mathematician discovered a cave <em>unknown</em> to the map. The mathematician entered the cave because it is there. Somewhere deep in the cave, she found a treasure chest with a combination lock and some numbers on it. After quite a research, the mathematician found out that the correct combination to the lock would be obtained by calculating how many ways are there to pick m different apples among n of them and modulo it with M. M is the product of several different primes.n nnInputnOn the first line there is an integer T(T≤20) representing the number of test cases.nnEach test case starts with three integers n,m,k(1≤m≤n≤1018,1≤k≤10) on a line where k is the number of primes. Following on the next line are k different primes p1,...,pk. It is guaranteed that M=p1⋅p2⋅⋅⋅pk≤1018 and pi≤105 for every i∈1,...,k.n nnOutputnFor each test case output the correct combination on a line.n nnSample Inputn1n9 5 2n3 5n nnSample Outputn6
for unknown purpose
it is a rubbish, nonsense
UnKnown DATABASE?
已经在INTERBASE里建立了数据库 MYDATA 了rn也在BDE里设置好了别名DBDATA 并指向数据库的路径了,为什么还会出现这个提示呢?rnrnProject gc.exe raised exception class EDBEngineError with message'UnKnown rndatabase.rnUnable to complete network request to host"IB_SERVER".rnFailed to locate host machine.rnThe specified name was not found in thernGeneral SQL error.rnhosts file or Domain Name Services.rnAlias:my data'.Process stopped.rnrn该怎么办呢?
wireless location
蜂窝系统中移动终端位置估计算法介绍,内容精练,具有较高参考价值.
水果店的location
水果店一般都选取在人流比较多的地方。 位置 要么是在菜市场中,要么就尽量的远离菜市场,因为菜市场会极大的分散流量,买的人不会过来。 内部装修 另外水果店中最好安装玻璃,以此显示自己的水果店比较大,晚上最好是那种很亮的灯光,即使老远,也可以第一眼注意到这家店,吸引人群。...
Location的关键点
将数据传到datagrid, 用json传。 http://blog.csdn.net/sbvfhp/article/details/9175575 json解决hibernate中级联对象延迟加载问题net.sf.json.JSONException: org.hibernate.LazyInit hibernate使用CGLIB把POJ
location 的路径
rn rn rn rn rn rn rnrn rn rn rn rn rn rn rnrn能不能把两个合在一起rn rn rn rn rn rn rn
Location定位
GPS定位、网络定位。
Android Location
Android实用源代码下载里面包含Location 还有二维码扫描功能
location常用方法
&lt;!DOCTYPE html&gt; &lt;html lang="en"&gt; &lt;head&gt; &lt;meta charset="UTF<em>-</em>8"&gt; &lt;title&gt;<em>location</em>常用方法&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;input type="button" id="btn" value="...
location的用途
请教一下<em>location</em>的用途和showModalDialog()的作用,菜鸟初学JS,请各位大哥多多指教,并不吝言辞,讲地稍微详细些,谢谢!
location对象
本课程是学习Web前端的基础课程,是学习Web前端框架、JavaWeb开发、Python Web开发、PHP开发和.NET Web开发前置课程。
百度location
package xgpushdemo.qt.an.appmap; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; import android.widget.Toast; import com.baidu.<em>location</em>.BDLocation; import com.baidu.<em>location</em>.BDLocationListener; import com.baidu.<em>location</em>.LocationClient; import com.baidu.<em>location</em>.LocationClientOption; import com.baidu.mapapi.SDKInitializer; import com.baidu.mapapi.map.BaiduMap; import com.baidu.mapapi.map.MapView; import com.baidu.mapapi.map.MyLocationData; /*** * 百度定位、导航 * */ public class MainActivity extends Activity { private Button clickbtn; private TextView txt1; private TextView txt2; private MapView mMapView = null; private BaiduMap mBaiduMap=null; //定位相关申明 private LocationClient <em>location</em>Client; //是否第一次定位 private Boolean isFirstloc=true; //是否开启 private Boolean isStart=true; private String la; private String lo; private String city; public BDLocationListener myListener=new BDLocationListener() { @Override public void onReceiveLocation(BDLocation bdLocation) { if(bdLocation==null||mMapView==null) return; MyLocationData myLocationData= new MyLocationData.Builder().accuracy(bdLocation.getRadius()).direction(100). latitude(bdLocation.getLatitude()).longitude(bdLocation.getLongitude()).build(); mBaiduMap.setMyLocationData(myLocationData); city= bdLocation.getCity(); la=bdLocation.getLatitude()+""; lo=bdLocation.getLongitude()+""; // if(isFirstloc){ // isFirstloc=false; // LatLng ll=new LatLng(bdLocation.getLatitude(),bdLocation.getLongitude()); // MapStatusUpdate mapStatusUpdate= MapStatusUpdateFactory.newLatLngZoom(ll,16); // mBaiduMap.animateMapStatus(mapStatusUpdate); // } } }; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); //在使用SDK各组件之前初始化context信息,传入ApplicationContext //注意该方法要再setContentView方法之前实现 SDKInitializer.initialize(getApplicationContext()); setContentView(R.layout.activity_main); //获取地图控件引用 mMapView = (MapView) findViewById(R.id.bmapView);//获取百度地图控件的引用 mBaiduMap=mMapView.getMap(); //开启地图图层 mBaiduMap.setMyLocationEnabled(true); <em>location</em>Client=new LocationClient(getApplicationContext());//实例化 LocationClientOption option = new LocationClientOption(); // option.setOpenGps(true); // 打开GPS option.setLocationMode(LocationClientOption.LocationMode.Device_Sensors);// 设置定位模式 option.setCoorType("bd09ll"); // 返回的定位结果是百度经纬度,默认值gcj02 option.setScanSpan(3000); // 设置发起定位请求的间隔时间为5000ms // option.setIsNeedAddress(true); // 返回的定位结果包含地址信息 // option.setNeedDeviceDirect(true); // 返回的定位结果包含手机机头的方向 option.setAddrType("all"); <em>location</em>Client.setLocOption(option); <em>location</em>Client.registerLocationListener(myListener); <em>location</em>Client.start(); <em>location</em>Client.requestLocation(); // baiduMap.setMapType(BaiduMap.MAP_TYPE_NORMAL); // 设置为一般地图 // baiduMap.setMapType(BaiduMap.MAP_TYPE_SATELLITE); //设置为卫星地图 // baiduMap.setTrafficEnabled(true); //开启交通图 clickbtn= (Button) findViewById(R.id.clickbrn); clickbtn.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { if(clickbtn.getText().equals("开启")){ clickbtn.setText("关闭"); isStart=false; <em>location</em>Client.start(); Toast.makeText(getApplicationContext(),"城市:"+city+"经度:"+la+"纬度:"+lo,Toast.LENGTH_SHORT).show(); }else if(clickbtn.getText().equals("关闭")){ clickbtn.setText("开启"); isStart=true; <em>location</em>Client.stop(); } } }); txt1=(TextView)findViewById(R.id.txt1); txt1.setText("城市:"+city+" 经度:"+la); txt2= (TextView) findViewById(R.id.txt2); txt2.setText("纬度:"+lo); } // 三个状态实现地图生命周期管理 @Override protected void onDestroy() { //退出时销毁定位 <em>location</em>Client.stop(); mBaiduMap.setMyLocationEnabled(false); // TODO Auto<em>-</em>generated method stub super.onDestroy(); mMapView.onDestroy(); mMapView = null; } @Override protected void onResume() { // TODO Auto<em>-</em>generated method stub super.onResume(); mMapView.onResume(); } @Override protected void onPause() { // TODO Auto<em>-</em>generated method stub super.onPause(); mMapView.onPause(); } /** * 设置定位参数 */ private void setLocationOption() { LocationClientOption option = new LocationClientOption(); option.setOpenGps(true); // 打开GPS option.setLocationMode(LocationClientOption.LocationMode.Hight_Accuracy);// 设置定位模式 option.setCoorType("bd09ll"); // 返回的定位结果是百度经纬度,默认值gcj02 option.setScanSpan(5000); // 设置发起定位请求的间隔时间为5000ms option.setIsNeedAddress(true); // 返回的定位结果包含地址信息 option.setNeedDeviceDirect(true); // 返回的定位结果包含手机机头的方向 <em>location</em>Client.setLocOption(option); } }
struts2.1.6简单的实例加载struts-default.xml的问题
我看的书上的例子使用struts2.0.11rnrn要求只加载rncommons<em>-</em>logging<em>-</em>1.0.4.jarrnfreemarker<em>-</em>2.3.8.jarrnognl<em>-</em>2.6.11.jarrnstruts2<em>-</em>core<em>-</em>2.0.11.jarrnxwork<em>-</em>2.0.4.jarrn(HelloWorld实例)rnrn我下载的是struts2.1.6版本,按照书上的写了一个HelloWorld……Tomcat部署的时候出现以下错误:rn严重: Exception starting filter struts2rnUnable to load configuration. <em>-</em> bean <em>-</em> jar:file:/D:/Tomcat%206.0/webapps/Struts2/WEB<em>-</em>INF/lib/struts2<em>-</em>core<em>-</em>2.1.6.jar!/<em>struts<em>-</em>default</em>.<em>xml</em>:46:178rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:360)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:403)rn at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:190)rn ……rnrn然后访问的时候报404错误(Tomcat的webapps目录下可以看得到所有的文件)rn俺不知道是怎么回事了,struts.<em>xml</em>的内容如下:rnrnrn rn rn rn rn /ch2/helloworld/success.jsprn /ch2/helloworld/error.jsprn rn rn rnrn难道2.0和2.1有较大的差别,还是其他问题?
location的区别?
<em>location</em>.assignrn<em>location</em>.replacern<em>location</em>.hrefrn具体的区别是什么?rn
web.config 的location
rn rn rn rn rn rn rnrn我想往这里面多加一个所有用户rn都可以访问的页面.比方说是new.aspxrn应该怎么写...rn我原来以为rnpath="Secure/NewUser.aspx,new.aspx"rn结果不行.哈哈.高手指教.先谢过
$location学习笔记
$<em>location</em> 如链接: http://localhost:8088/#/home<em>-</em>%3EMAIN_TAB?code=011Ep3iE0uiJYf26RMiE0xZ8iE0Ep3iO&state=7910006 $<em>location</em>服务不会重新加载整个页面,它只会单纯地改变URL。如果我们想重新加载整个页面,需要用$window服务来设置地址。 $
location的问题
在我的usercontrol中,控件的<em>location</em>总是会自动的变为0,0,修改也没有作用rn是什么原因啊?
location刷新页面
window.<em>location</em>.href = url; window.<em>location</em>.reload();
Mobile Location
Mobile Location. It has been developed with j2me source engine.
MUSIC location
MUSIC Location, it can estimate the TDOA and locate the source. It can work.
WSN location
wsn 的无线传感器定位 算法 采用的是RSSI的测距技术 来定位节点
GoogleMap和location
GoogleMap和<em>location</em>,android google地图展现与定位
google location
http://write.blog.csdn.net/postedit/45747349
Nginx之Location配置详解(Location匹配顺序)
<em>location</em> 有”定位”的意思, 主要是根据Uri来进行不同的定位.在虚拟主机的配置中,是必不可少的,<em>location</em>可以把网站的不同部分,定位到不同的处理方式上.1.<em>location</em>的基础语法<em>location</em> [=|~|~*|^~] patt {}=:严格匹配。如果这个查询匹配,那么将停止搜索并立即处理此请求。 ~:为区分大小写匹配(可用正则表达式)。 ~*:为不区分大小写匹配(可用正则表达式
location的属性
href 完整的url search  ?以及后边的参数部分 protocol  http 或https hostname 设置或返回当前 URL 的主机名。 <em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em>功能实现: 本网站的超级链接在本页打开  其他网站的超级链接在新窗口打开 var myUrl=<em>location</em>.protocol +'://'+<em>location</em>.hostn
TDOA for location
TDOA for <em>location</em>, 用于定位的计算TDOA代码,简单快捷,可以工作,It is helpful for estimating TDOA
location
NULL 博文链接:https://only81.iteye.com/blog/619298
$location对象
AngularJS是Google开源的一款JavaScript MVC框架,弥补了HTML在构建应用方面的不足, 使得开发现代的单一页面应用程序变得更加容易,能把应用程序数据绑定到 HTML 元素,能克隆和重复 HTML 元素,能隐藏和显示 HTML 元素, 支持输入验证。
location gps
获取位置信息
Rich Location
安装应用程序时无法安装成功,显示“应用程序未安装”,使用豌豆荚时提示“您的设备不支持add<em>-</em>on属性”,这是因为国行Android去掉了Google的Rich Location程序,也就是地图服务,需要以下三个文件: com.google.android.maps.jar, com.google.android.maps.<em>xml</em>, NetworkLocation.apk。 前提是手机已经root,然后用RE管理器将三个文件分别放置于以下路径: /system/framework/com.google.android.maps.jar, /system/etc/permissions/com.google.android.maps.<em>xml</em>, /data/app_s/NetworkLocation.apk。 再将三个文件的权限设置为644,重启手机后即可正常使用Google地图服务,也可以正常安装软件。 http://blog.sina.com.cn/s/blog_4a94a0db01013rih.html
Location Tolerance
关于位置公差的PPT教材,英文的。内容包括位置度,同轴度和对称度。很详细,有兴趣的朋友可以看看。个人感觉很有用。
javadoc location
我的servlet.jar的javadoc <em>location</em> path:file:/C:/Documents and Settings/LENOVO/桌面/j2ee6<em>-</em>doc/javax/servlet/rnrn按f1怎么出不来。rn
关于Location
项目里面定位有bug。第一次开启之后打印了两次经纬度。 关闭之后再打开就不行。项目太大。所以我扣出定位方面的代码写了一个demo。然后编译居然没反应了。。。
location语法规则
<em>location</em>语法规则 <em>location</em> [匹配模式] [pattern_str]{ #相应的规则 } 匹配模式 =:精准匹配 ~:区分大小写的正则匹配 ~*:不区分大小的正则匹配 !~:区分大小写的正则匹配取反 !~*:不区分大小写的正则匹配取反 ^~:标识符匹配。当为此模式时,当匹配到pattern_str时即停止正则匹配。 :普通匹配(即时空). 匹配模式的优先级 ...
百度Location
百度定位的api,比较好用,大家也可以去百度官网下载,非常多!
location 对象
在这个课程中,我会按照有效的学习方法,从零开始,帮你的把 JavaScript 作为一个工具用起来。记住!是用起来,可不是从头到尾讲一大堆语法了事。我们学习的目的难道不是“去用”吗?
map location
map 中使用<em>location</em>定位,mapkit和core <em>location</em>的使用,地理编码和地理反编码
Path must include project and resource name: /struts-default.xml
[img=https://img<em>-</em>bbs.csdn.net/upload/201509/20/1442755177_231027.jpg][/img]rn打开struts2<em>-</em>core<em>-</em>2.3.24.jar架包下的<em>struts<em>-</em>default</em>.<em>xml</em>文件eclipse就弹出这个窗口,求解啊!!!
我的strut2第一个程序 用户登录 struts-default.xml异常
报错情况如下:rnrn严重: Dispatcher initialization failedrnUnable to load configuration. <em>-</em> bean <em>-</em> jar:file:/D:/Java/sturts/strutslogin/WebRoot/WEB<em>-</em>INF/lib/struts2<em>-</em>core<em>-</em>2.1.8.1.jar!/<em>struts<em>-</em>default</em>.<em>xml</em>:47:178rnrnrnrn严重: Exception starting filter struts2rnUnable to load configuration. <em>-</em> bean <em>-</em> jar:file:/D:/Java/sturts/strutslogin/WebRoot/WEB<em>-</em>INF/lib/struts2<em>-</em>core<em>-</em>2.1.8.1.jar!/<em>struts<em>-</em>default</em>.<em>xml</em>:47:178rnrn<em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em>rnrn工程目录:rnrnstrutslogin 工程文件名rn <em>-</em>strrn | +<em>-</em><em>-</em>com.test.action 包名rn | | <em>-</em>loginAction.java 处理用户名和密码rn | <em>-</em><em>-</em>struts.<em>xml</em>rn <em>-</em>WebRootrn +META<em>-</em>INFrn <em>-</em>WEB<em>-</em>INFrn | | <em>-</em><em>-</em> librn | | <em>-</em><em>-</em> web.<em>xml</em>rn | <em>-</em><em>-</em> login.jsp 登陆页面rn | <em>-</em><em>-</em> result.jsp 处理完成之后的返回页面rn rn导入的struts2包: rncommons<em>-</em>logging<em>-</em>1.0.4.jarrnfreemarker<em>-</em>2.3.15.jarrnognl<em>-</em>2.7.3.jarrnstruts2<em>-</em>core<em>-</em>2.1.8.1.jarrnxwork<em>-</em>core<em>-</em>2.1.6.jarrnrnrnrnrn<em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em><em>-</em>rnweb.<em>xml</em>内容如下:rnrnrn rn rn struts2rn org.apache.struts2.dispatcher.FilterDispatcherrn rn rn struts2rn /*rn rnrnrnrnstruts.<em>xml</em>内容如下:rnrnrnrnrn rn rn /result.jsprn rnrnrnlogin.jsp内容如下:rn rn rn username: rn userpwd: rn rn rn rnrnloginAction.java内容如下:rnrnpackage com.test.action;rnrnpublic class loginAction rn private String username;rn private String password;rn public String getUsername() rn return username;rn rn public void setUsername(String username) rn this.username = username;rn rn public String getPassword() rn return password;rn rn public void setPassword(String password) rn this.password = password;rn rn public String execute() throws Exceptionrn return "success";rn rn
ssh整合报错 Unable to load configuration.struts2-core-2.1.2.jar!/struts-default.xml
struts2.<em>xml</em>:rnrnrnrnrnrnrn rn oo.jsprn index.jsprn index.jsprn rn rnrnrnapplicationContext.<em>xml</em>:rnrnrnrn rn classpath:test/spring/hibernate.cfg.<em>xml</em>rn rn rnrn rn rn rn rnrnrn rnrnrnweb.<em>xml</em>:rnrnrn Struts 2.0 test xp1204rn rn struts2 rn org.apache.struts2.dispatcher.FilterDispatcherrn rn rn struts2rn /*rn rn rn contextConfigLocationrn rn /WEB<em>-</em>INF/applicationContext.<em>xml</em>rn rn rn rn rn rn org.springframework.web.context.ContextLoaderListenerrn rn rn rn rnrnrn报错信息:rn严重: Exception starting filter struts2rnUnable to load configuration. <em>-</em> bean <em>-</em> jar:file:/D:/javaProgramFiles/tomcat<em>-</em>6.0.20/webapps/zoyeoa/WEB<em>-</em>INF/lib/struts2<em>-</em>core<em>-</em>2.1.2.jar!/<em>struts<em>-</em>default</em>.<em>xml</em>:46:178rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:371)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:424)rn at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:213)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3800)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4450)
Unknown error 1146的解决办法:
在mybatis与springboot整合的项目里面,报如下错误:2018<em>-</em>06<em>-</em>03 15:16:50.148 ERROR 20777 <em>-</em><em>-</em><em>-</em> [<em>-</em>nio<em>-</em>80<em>-</em>exec<em>-</em>16] o.s.boot.web.support.ErrorPageFilter : Forwarding to error page from request [/blogfirst] due to exceptio...
k8s- unknown问题排查
一、问题描述 kubernetes pod NodeLost 分析 环境 系统: centOS7 k8s 1 master, 2 node IP k8s master 176 k8s node 175 k8s node 176 kubelet、kube<em>-</em>proxy、kube<em>-</em>dns直接安装在linux系统上 问题 卸载监控时,一直一些组件未删除(正常是所有相关组...
Unknown tag (s:textfiled)
struts2 的一个登陆界面代码[code=Java][/code]rnrnrnrn rnrn rn 登录页面rn rn rn rn rn rn rn rn rn
java.lang.IllegalArgumentException: Unknown URI content:
复制源项目program1,粘贴更名为program2。rn更改AndroidManifest.<em>xml</em>:rn program1中rnrn program2中rnrn当program1和program2安装在同一个模拟器中运行时,出错了:rnrn04<em>-</em>18 01:34:36.591: E/DatabaseUtils(833): Writing exception to parcelrn04<em>-</em>18 01:34:36.591: E/DatabaseUtils(833): java.lang.IllegalArgumentException: Unknown URI content://com.coperator.db/accountsrn04<em>-</em>18 01:34:36.591: E/DatabaseUtils(833): at com.coperator.db.DBProvider.delete(DBProvider.java:286)rn04<em>-</em>18 01:34:36.591: E/DatabaseUtils(833): at android.content.ContentProvider$Transport.delete(ContentProvider.java:222)rn04<em>-</em>18 01:34:36.591: E/DatabaseUtils(833): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:186)rn04<em>-</em>18 01:34:36.591: E/DatabaseUtils(833): at android.os.Binder.execTransact(Binder.java:320)rn04<em>-</em>18 01:34:36.591: E/DatabaseUtils(833): at dalvik.system.NativeStart.run(Native Method)rnrn忘高手给点指示和解决的方法,谢谢!!!
unknown column field list
[code=PHP]rnif (empty($username)) $error[]='Username cannot be empty.';rn$query='select user_name from user where user_name="' . $username . '"';rn$result=mysql_query($query) or die(mysql_error($db));rnif (mysql_num_rows($result)>0) $error[]='Username has already been used.'; $username='';rn[/code]rn这个是我的代码,出错信息:Unknown column 'tchen13' in 'field list'rntchen13是我post过来的变量rn
VB调试过程中的几个问题下载
VB调试过程中的几个问题 相关下载链接:[url=//download.csdn.net/download/aleanking/4313918?utm_source=bbsseo]//download.csdn.net/download/aleanking/4313918?utm_source=bbsseo[/url]
JS实现截屏下载
工作中有个项目需要将地图截屏以彩信方式发送给用户。用的是百度的JS版API,由于百度API未提供截屏功能,便自己动手写,用网页调用APPLET方式实现。附代码,提供JSP和HTML两个版本。亲测可用,觉得有用的请顶! PS: 1、保证D盘有个img目录或者自己修改代码自动创建文件夹; 2、在客户端的JRE中对APPLET进行授权,即在...Java\jre1.5.0\lib\security的java.policy文件中加上permission java.security.AllPermission; 相关下载链接:[url=//download.csdn.net/download/panzxin/4809598?utm_source=bbsseo]//download.csdn.net/download/panzxin/4809598?utm_source=bbsseo[/url]
win8网站导航metro风格下载
一个metro风格的网站导航,有源码,初学者可以参考! 相关下载链接:[url=//download.csdn.net/download/u010897535/5541941?utm_source=bbsseo]//download.csdn.net/download/u010897535/5541941?utm_source=bbsseo[/url]
相关热词 c#检测非法字符 c#双屏截图 c#中怎么关闭线程 c# 显示服务器上的图片 api嵌入窗口 c# c# 控制网页 c# encrypt c#微信网页版登录 c# login 居中 c# 考试软件
我们是很有底线的