Gradle 报错,怎么解决?在网上找了很多方法,都不能解决

代码如下:
Error:Internal error:
org.gradle.tooling.BuildException: Could not execute build using Gradle installation 'D:\Program Files\gradle-4.8-rc-1'.
at org.gradle.tooling.internal.consumer.ExceptionTransformer.transform(ExceptionTransformer.java:51)
at org.gradle.tooling.internal.consumer.ExceptionTransformer.transform(ExceptionTransformer.java:29)
at org.gradle.tooling.internal.consumer.ResultHandlerAdapter.onFailure(ResultHandlerAdapter.java:41)
at org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(DefaultAsyncConsumerActionExecutor.java:57)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.gradle.tooling.internal.consumer.BlockingResultHandler.getResult(BlockingResultHandler.java:46)
at org.gradle.tooling.internal.consumer.DefaultBuildLauncher.run(DefaultBuildLauncher.java:77)
at com.android.tools.idea.gradle.project.build.invoker.GradleTasksExecutor$GradleTasksExecutorImpl.lambda$invokeGradleTasks$2(GradleTasksExecutor.java:418)
at org.jetbrains.plugins.gradle.service.execution.GradleExecutionHelper.execute(GradleExecutionHelper.java:222)
at com.android.tools.idea.gradle.project.build.invoker.GradleTasksExecutor$GradleTasksExecutorImpl.invokeGradleTasks(GradleTasksExecutor.java:458)
at com.android.tools.idea.gradle.project.build.invoker.GradleTasksExecutor$GradleTasksExecutorImpl.run(GradleTasksExecutor.java:271)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:718)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:170)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:548)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:493)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:157)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:165)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:330)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.gradle.internal.exceptions.LocationAwareException: Execution failed for task ':app:processDebugManifest'.
at org.gradle.initialization.DefaultExceptionAnalyser.transform(DefaultExceptionAnalyser.java:74)
at org.gradle.initialization.MultipleBuildFailuresExceptionAnalyser.transform(MultipleBuildFailuresExceptionAnalyser.java:47)
at org.gradle.initialization.StackTraceSanitizingExceptionAnalyser.transform(StackTraceSanitizingExceptionAnalyser.java:30)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:143)
at org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:115)
at org.gradle.internal.invocation.GradleBuildController$1.call(GradleBuildController.java:77)
at org.gradle.internal.invocation.GradleBuildController$1.call(GradleBuildController.java:74)
at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:152)
at org.gradle.internal.work.StopShieldingWorkerLeaseService.withLocks(StopShieldingWorkerLeaseService.java:38)
at org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:96)
at org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.java:74)
at org.gradle.tooling.internal.provider.runner.BuildModelActionRunner.run(BuildModelActionRunner.java:55)
at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
at org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:32)
at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.run(RunAsBuildOperationBuildActionRunner.java:47)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:317)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:309)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:185)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:97)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:43)
at org.gradle.tooling.internal.provider.SubscribableBuildActionRunner.run(SubscribableBuildActionRunner.java:51)
at org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:45)
at org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:41)
at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:65)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:41)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:31)
at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:39)
at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:25)
at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:80)
at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:53)
at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:62)
at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:34)
at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:36)
at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:25)
at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:43)
at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:29)
at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:59)
at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:31)
at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:59)
at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:44)
at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:46)
at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:30)
at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:67)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)
at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)
at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)
at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
at org.gradle.util.Swapper.swap(Swapper.java:38)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)
at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)
at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:62)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)
at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:82)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)
at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:295)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
Caused by: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:processDebugManifest'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.run(EventFiringTaskExecuter.java:51)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:317)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:309)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:185)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:97)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$ExecuteTaskAction.execute(DefaultTaskExecutionGraph.java:262)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$ExecuteTaskAction.execute(DefaultTaskExecutionGraph.java:246)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:136)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:130)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.execute(DefaultTaskPlanExecutor.java:201)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.executeWithTask(DefaultTaskPlanExecutor.java:192)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:130)
... 3 more
Caused by: java.lang.RuntimeException: Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version 17 declared in library [com.github.xuexiangjys:XUI:1.0.4] C:\Users\Administrator.android\build-cache\0e85c716275ee970052537f7d72f491aaf0a4a05\output\AndroidManifest.xml
Suggestion: use tools:overrideLibrary="com.xuexiang.xui" to force usage
at com.android.builder.core.AndroidBuilder.mergeManifestsForApplication(AndroidBuilder.java:576)
at com.android.build.gradle.tasks.MergeManifests.doFullTaskAction(MergeManifests.java:74)
at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:82)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:50)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:131)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:317)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:309)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:185)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:97)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:120)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:99)
... 30 more

1个回答

Caused by: java.lang.RuntimeException: Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version 17 declared in library [com.github.xuexiangjys:XUI:1.0.4]
引用的库最低兼容到17, minSdkVersion 15改成17

wbsxxs
MR.睿 可以了,谢谢
2 个月之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
找了所有高手都不能解决的问题,
Microsoft VBScript 编译器错误 错误 '800a03f6' rnrn缺少 'End' rnrn/iisHelp/common/500-100.asp,行242 rnrnMicrosoft JET Database Engine 错误 '80004005' rnrn所有记录中均未找到搜索关键字。 rnrn/bbs/inc/char.asp,行274 rnrnrn这是一个动网论坛首页出错提示,如果我换一个以前备份的数据库(mdb)就没问题,不知为什么?
求发邮件的代码! 在网上找了很多都不能发送成功
[code=C#][/code]rn/// rn /// 发送邮件rn /// rn /// 发件邮箱服务器rn /// 发件人邮箱密码rn /// 发件人邮箱rn /// 发件人在邮件中的显示名rn /// 收件人邮箱rn /// 收件人在邮箱中的显示名rn /// 邮件标题rn /// 邮件正文rn /// 附件路径rn /// rnrn private bool SendMail(string smtpServer,string password,string sendMail,string sendName, string receiverMail,string receiverName,string mailSubject,string mailBody,string attachments)rn rn SmtpClient smtpClient = new SmtpClient();rn smtpClient.Host = smtpServer;rn smtpClient.Timeout = 60000;rn smtpClient.UseDefaultCredentials = false;rn smtpClient.Credentials = new NetworkCredential(sendMail.Split('@')[0], password);rnrn MailAddress fromAddress = new MailAddress(sendMail);//发件人地址rn MailAddress toAddress = new MailAddress(receiverMail);//收件人地址rn MailMessage mail = new MailMessage(fromAddress,toAddress);//创建邮件rn mail.BodyEncoding = System.Text.Encoding.UTF8;rn mail.SubjectEncoding = System.Text.Encoding.UTF8;rn mail.IsBodyHtml = true;rn mail.Subject = mailSubject;rn mail.Body = mailBody;rn mail.Priority = MailPriority.High;rn if (attachments != null && attachments != "")rn rn mail.Attachments.Add(new Attachment(attachments));rn rn tryrn rn smtpClient.Send(mail);rn return true;rn rn catch (Exception e)rn rn Response.Write(e.Message);rn return false;rn rn
乱码问题(看了很多贴子都不能解决)!!!!!
我的环境:win2000+tomcat4。1+accessrn情况如下:rn<%@page contentType="text/html;charset=GBK------1rn
寻找VS。NET下载,找了很多都不能下!
如上!谢谢大家!
关于正则表达式。找了很多资料没解决。
content = Regex.Replace(content, @"\(url\s*=\s*(?\S[^\)]+)\)(? .[^\(]*)\(\/url\)", "$title", RegexOptions.IgnoreCase | RegexOptions.Compiled);rnrn这是把 (url=http://abc.mywebsite.com/default.aspx)myweb(/url) 替换成 rnmywebrnrn如果myweb中含有括号 ) 就替换不成功了,就是因为这个 [^\)] ,那位告诉我怎么弄啊 我把[^\)] 换成 [^(\(url)] 不成功,请高手指教。rn
xp底下很多程序都不能安装!怎么解决啊?
比如天网,奇迹怎么都不能安装啊!双击了N次!然后根本就没反映!rn怎么解决啊?高手请指教!
出错了,spring2+hibernate3,网上找了好久没解决。
[code="java"]rn2009-05-11 14:13:03,428 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [D:\Kyle Zhou\software\apache-tomcat-5.5.23\apache-tomcat-5.5.23\webapps\OA\WEB-INF\classes\context\applicationContext-common.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from resource com/oa/model/Organization.hbm.xmlrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:448)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)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:585)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)rnCaused by: org.hibernate.InvalidMappingException: Could not parse mapping document from resource com/oa/model/Organization.hbm.xmlrn at org.hibernate.cfg.Configuration.addResource(Configuration.java:602)rn at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1621)rn at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1589)rn at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1568)rn at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1542)rn at org.hibernate.cfg.Configuration.configure(Configuration.java:1477)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:601)rn at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)rn ... 30 morernCaused by: org.hibernate.InvalidMappingException: Could not parse mapping document from input streamrn at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:541)rn at org.hibernate.cfg.Configuration.addResource(Configuration.java:599)rn ... 39 morernCaused by: org.dom4j.DocumentException: Connection timed out: connect Nested exception: Connection timed out: connectrn at org.dom4j.io.SAXReader.read(SAXReader.java:484)rn at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:532)rn ... 40 morern2009-05-11 14:13:03,443 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/OA]] - Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [D:\Kyle Zhou\software\apache-tomcat-5.5.23\apache-tomcat-5.5.23\webapps\OA\WEB-INF\classes\context\applicationContext-common.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from resource com/oa/model/Organization.hbm.xmlrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:448)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)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:585)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)rnCaused by: org.hibernate.InvalidMappingException: Could not parse mapping document from resource com/oa/model/Organization.hbm.xmlrn at org.hibernate.cfg.Configuration.addResource(Configuration.java:602)rn at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1621)rn at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1589)rn at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1568)rn at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1542)rn at org.hibernate.cfg.Configuration.configure(Configuration.java:1477)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:601)rn at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)rn ... 30 morernCaused by: org.hibernate.InvalidMappingException: Could not parse mapping document from input streamrn at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:541)rn at org.hibernate.cfg.Configuration.addResource(Configuration.java:599)rn ... 39 morernCaused by: org.dom4j.DocumentException: Connection timed out: connect Nested exception: Connection timed out: connectrn at org.dom4j.io.SAXReader.read(SAXReader.java:484)rn at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:532)rn ... 40 morern2009-5-11 14:13:03 org.apache.catalina.core.StandardContext startrn严重: Error listenerStartrn2009-5-11 14:13:03 org.apache.catalina.core.StandardContext startrn严重: Context [/OA] startup failed due to previous errorsrn2009-05-11 14:13:03,459 INFO [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/OA]] - Closing Spring root WebApplicationContextrn2009-5-11 14:13:04 org.apache.catalina.core.ApplicationContext logrn[/code]rncom/oa/model/Organization.hbm.xml配置如下rn[code="java"]rnrn rn rn rn rn rn rn rn rn rn rn rn rn rnrn[/code]rnhibernate.cfg.xml的配置又如下。rn[code="java"]rnrn rn com.mysql.jdbc.Driverrn jdbc:mysql://localhost:3306/oa2rn rootrn 1234rn org.hibernate.dialect.MySQLDialectrn truern updatern rn rn[/code]rnn[b]问题补充:[/b]n[code="java"]rn2009-05-11 14:13:03,428 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [D:\Kyle Zhou\software\apache-tomcat-5.5.23\apache-tomcat-5.5.23\webapps\OA\WEB-INF\classes\context\applicationContext-common.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from resource com/oa/model/Organization.hbm.xmlrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:448)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)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:585)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)rnCaused by: org.hibernate.InvalidMappingException: Could not parse mapping document from resource com/oa/model/Organization.hbm.xmlrn at org.hibernate.cfg.Configuration.addResource(Configuration.java:602)rn at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1621)rn at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1589)rn at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1568)rn at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1542)rn at org.hibernate.cfg.Configuration.configure(Configuration.java:1477)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:601)rn at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)rn ... 30 morernCaused by: org.hibernate.InvalidMappingException: Could not parse mapping document from input streamrn at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:541)rn at org.hibernate.cfg.Configuration.addResource(Configuration.java:599)rn ... 39 morernCaused by: org.dom4j.DocumentException: Connection timed out: connect Nested exception: Connection timed out: connectrn at org.dom4j.io.SAXReader.read(SAXReader.java:484)rn at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:532)rn ... 40 morern2009-05-11 14:13:03,443 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/OA]] - Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [D:\Kyle Zhou\software\apache-tomcat-5.5.23\apache-tomcat-5.5.23\webapps\OA\WEB-INF\classes\context\applicationContext-common.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from resource com/oa/model/Organization.hbm.xmlrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:448)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)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:585)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)rnCaused by: org.hibernate.InvalidMappingException: Could not parse mapping document from resource com/oa/model/Organization.hbm.xmlrn at org.hibernate.cfg.Configuration.addResource(Configuration.java:602)rn at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1621)rn at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1589)rn at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1568)rn at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1542)rn at org.hibernate.cfg.Configuration.configure(Configuration.java:1477)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:601)rn at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)rn ... 30 morernCaused by: org.hibernate.InvalidMappingException: Could not parse mapping document from input streamrn at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:541)rn at org.hibernate.cfg.Configuration.addResource(Configuration.java:599)rn ... 39 morernCaused by: org.dom4j.DocumentException: Connection timed out: connect Nested exception: Connection timed out: connectrn at org.dom4j.io.SAXReader.read(SAXReader.java:484)rn at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:532)rn ... 40 morern2009-5-11 14:13:03 org.apache.catalina.core.StandardContext startrn严重: Error listenerStartrn2009-5-11 14:13:03 org.apache.catalina.core.StandardContext startrn严重: Context [/OA] startup failed due to previous errorsrn2009-05-11 14:13:03,459 INFO [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/OA]] - Closing Spring root WebApplicationContextrn2009-5-11 14:13:04 org.apache.catalina.core.ApplicationContext logrn[/code]rncom/oa/model/Organization.hbm.xml配置如下rn[code="java"]rnrnrnrn rn rn rn rn rn rn rn rn rn rn rn rn rnrn[/code]rnhibernate.cfg.xml的配置又如下。rn[code="java"]rnrnrn rn com.mysql.jdbc.Driverrn jdbc:mysql://localhost:3306/oa2rn rootrn 1234rn org.hibernate.dialect.MySQLDialectrn truern updatern rn rn[/code]rn
网上找了很久!问题没解决!数据库连接!!
大哥!你看了这贴先别骂!先帮帮我好吗?rnOdbcConnection myconn = new System.Data.Odbc.OdbcConnection();rnmyconn.ConnectionString = "Driver=Microsoft Visual FoxPro Driver;SourceType=DBF;SourceDB=F:\\dzcd.dbf;";rnmyconn.Open();rn错误提示:rnERROR [IM001] [Microsoft][ODBC 驱动程序管理器] 驱动程序不支持此功能rn
求助,我写了一个SQL语句但是有报错,到网上找了很多都没有办法解决
(case when '' = '@p3' then 'b.Id = b.Id' else 'a.code like ''%%'' or a.cardNo like ''%%''' end)rn错误提示是 在使应用条件的上下文中指定了非布尔类型的表达式
数据库报错找了半天没解决 求助
create table `think_app`( rn -> `aid` int(11) not null auto_increment,rn -> `appname`varchar(255) not null,rn -> `appkey`varchar(255) not null,rn -> `banben`varchar(255) not null,rn -> `qudao`int(11) not null,rn -> `url`varchar(255) not null,rn -> `iskaifang` enum('0','1') not null default '0', rn -> `starttime`varchar(255) not null, rn-> `endtime`varchar(255) not null, rn -> `everydaytime`set('1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24')not null,rn -> `everymonthtoufang`int(11) not null,rn -> `pinci`int(11) not null,rn -> `del` enum('0','1') not null default '0',rn -> PRIMARY KEY (`aid`)rn -> )ENGINE=MyISAM auto_increment=1 default; rnERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 16
gradle与jenkins编译常见报错及解决
一、jenkins编译错误总结 1.错误一:   /data/jenkins/workspace/tv-child-release/tvApp/libraryPrj/lecore/src/com/letv/core/utils/DevicesUtils.java:1335: error: cannot find symbol
关于Android studio导入源码Gradle报错的解决
导入了一个工程,报错说是工程Gradle的版本为2.10,当前的版本为2.8.如果想使用,尝试在...修改。 通常这个最简单的解决办法 打开“Terminal”在命令行输入“gradlew”。 ok,自己去下载吧... 还有另一种方法,比较麻烦,这里不在赘述了。
远程桌面连接报错怎么解决
远程桌面连接rn---------------------------rn远程桌面由于以下原因之一无法连接到远程计算机:rnrn1) 未启用对服务器的远程访问rn2) 远程计算机已关闭rn3) 在网络上远程计算机不可用rnrn确保打开远程计算机、连接到网络并且启用远程访问。rn---------------------------rn确定 帮助 rn---------------------------rn
开机报错怎么解决?
在机时,系统显示:加载c:|winnt|system32|cdnprh.dll 时出错,找不到指定的模块.我不希望出现这些提示,怎么解决.请高手指教.
级联删除报错 怎么解决
org.springframework.dao.DataIntegrityViolationException: could not delete: [com.osiit.prgName.moduleName.bean.Bumen#ff80808132146106013214632e0a0001]; nested exception is org.hibernate.exception.ConstraintViolationException: could not delete: [com.osiit.prgName.moduleName.bean.Bumen#ff80808132146106013214632e0a0001]rnrn这个是daornpublic void delete(Bumen persistentInstance) rn log.debug("deleting Bumen instance");rn try rn getHibernateTemplate().delete(persistentInstance);rn log.debug("delete successful");rn catch (RuntimeException re) rn log.error("delete failed", re);rn throw re;rn rn rnrn这个是配置文件rn多对一的rn rn rn rnrn一对多的rnrn rn rn rn rn rnrn这个问题怎么解决呀,。烦死了
报错,什么问题,怎么解决?
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.annotation.internalAsyncAnnotationProcessor' defined in class path resource [org/springframework/scheduling/annotation/ProxyAsyncConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.springframework.scheduling.annotation.AsyncAnnotationBeanPostProcessor org.springframework.scheduling.annotation.ProxyAsyncConfiguration.asyncAdvisor()] threw exception; nested exception is java.lang.IllegalArgumentException: @EnableAsync annotation metadata was not injectedrn at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:603)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1055)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:951)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)rn at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:741)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4750)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5170)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:697)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1071)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1722)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)rn at java.util.concurrent.FutureTask.run(FutureTask.java:262)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)rn at java.lang.Thread.run(Thread.java:744)rnCaused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.springframework.scheduling.annotation.AsyncAnnotationBeanPostProcessor org.springframework.scheduling.annotation.ProxyAsyncConfiguration.asyncAdvisor()] threw exception; nested exception is java.lang.IllegalArgumentException: @EnableAsync annotation metadata was not injectedrn at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:181)rn at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:592)rn ... 26 morernCaused by: java.lang.IllegalArgumentException: @EnableAsync annotation metadata was not injectedrn at org.springframework.util.Assert.notNull(Assert.java:112)rn at org.springframework.scheduling.annotation.ProxyAsyncConfiguration.asyncAdvisor(ProxyAsyncConfiguration.java:44)rn at org.springframework.scheduling.annotation.ProxyAsyncConfiguration$$EnhancerBySpringCGLIB$$b254e486.CGLIB$asyncAdvisor$0()rn at org.springframework.scheduling.annotation.ProxyAsyncConfiguration$$EnhancerBySpringCGLIB$$b254e486$$FastClassBySpringCGLIB$$7a910519.invoke()rn at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)rn at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:293)rn at org.springframework.scheduling.annotation.ProxyAsyncConfiguration$$EnhancerBySpringCGLIB$$b254e486.asyncAdvisor()rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:606)rn at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:160)rn ... 27 morernrnrnrn我在别人的机子上运行正常,在我的机子上就报错,对方用的是myeclipse2013我的是2014,JDK我的是最新的,其余无差别了,Tomcat对方是7 ,我是8,
插入数据报错,怎么解决?
提示信息是"表 Tablename 无法通过17643(在表空间user_data中)扩展rnrn请问我该怎么处理?rnrn万分感谢!!
报错java.lang.NoSuchMethodException怎么解决?
错误如下:rnrn严重: Servlet.service() for servlet action threw exceptionrnjava.lang.NoSuchMethodException: Action[/stuInfo] does not contain specified metrnhod (check logs)rn at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:rn264)rn at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)rn at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcesrnsor.java:431)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)rn at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationrnFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChrnain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.jarnva:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.jarnva:175)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128rn)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102rn)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.javarn:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Httprn11Protocol.java:584)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn at java.lang.Thread.run(Unknown Source)rnrnrnrn我的action是:rnrnpublic class UserInfoAction extends DispatchAction rn rn private UserBiz biz = new UserBizImpl();rn rn public ActionForward doLogin(ActionMapping mapping, ActionForm form,rn HttpServletRequest request, HttpServletResponse response) rn rn UserInfoForm userInfoForm = (UserInfoForm) form;// TODO Auto-generated method stubrn Admin admin = new Admin();rn admin.setId(userInfoForm.getId());rn admin.setUsername(userInfoForm.getUsername());rn admin.setPassword(userInfoForm.getPassword());rn if (biz.login(admin)) rn HttpSession session = request.getSession();rn session.setAttribute("admin", admin);rn return mapping.findForward("login_success");rn rn return mapping.findForward("login_fail");rn rn rnrnrnrnform如下:rnrnpublic class UserInfoForm extends ActionForm rn rn private Integer id;rn private String username;rn private String password;rn rn rnrn public Integer getId() rn return id;rn rnrn public void setId(Integer id) rn this.id = id;rn rnrn public String getUsername() rn return username;rn rnrn public void setUsername(String username) rn this.username = username;rn rnrn public String getPassword() rn return password;rn rnrn public void setPassword(String password) rn this.password = password;rn rnrn rnrnrnrndao如下:rnrnpublic class UserDaoImpl implements UserDao rn public boolean isExist(Admin admin) rn Connection conn = null;rn PreparedStatement ps = null;rn ResultSet rs = null;rn try rn conn = DBGet.getConn();rn String sql = "select * from admin where username=?";rn ps = conn.prepareStatement(sql);rn ps.setString(1, admin.getUsername());rn rs = ps.executeQuery();rn if (rs.next()) rn if(admin.getPassword().equals(rs.getString("password"))) rn return true;rn rn rn catch (Exception e) rn e.printStackTrace();rn finally rn DBGet.closeResultSet(rs);rn DBGet.closePreparedStatement(ps);rn DBGet.closeConnection(conn);rn rnrn return false;rn rnrnrn这种情况怎么改呢?哪里错了?请教大家
javase报错怎么解决
java.util.date cannot be cast to java .sql.date 有木有解决办法
报错怎么解决com.google.android.gms.common.api.GoogleApiClient.connect ()
package com.example.wuliqiang.login;rnrnimport android.net.Uri;rnimport android.os.Bundle;rnimport android.support.design.widget.FloatingActionButton;rnimport android.support.design.widget.Snackbar;rnimport android.support.v7.app.AppCompatActivity;rnimport android.support.v7.widget.Toolbar;rnimport android.text.TextUtils;rnimport android.view.View;rnimport android.view.Menu;rnimport android.view.MenuItem;rnimport android.widget.Button;rnimport android.widget.CheckBox;rnimport android.widget.CompoundButton;rnimport android.widget.EditText;rnimport android.widget.TextView;rnimport android.widget.Toast;rnrnimport com.google.android.gms.appindexing.Action;rnimport com.google.android.gms.appindexing.AppIndex;rnimport com.google.android.gms.common.api.GoogleApiClient;rnrnpublic class MainActivity extends AppCompatActivity implements CompoundButton.OnCheckedChangeListener rnrn private EditText edUserName;rn private EditText edPassWord;rn private Button btnLogin;rn private CheckBox cbRememberPwd,cbAutoLanding;rn TextView tvEnrolment,tvFindPwd;rnrn /**rn * ATTENTION: This was auto-generated to implement the App Indexing API.rn * See https://g.co/AppIndexing/AndroidStudio for more information.rn */rn private GoogleApiClient client;rnrn public MainActivity() rn rnrn @Overridern protected void onCreate(Bundle savedInstanceState) rn super.onCreate(savedInstanceState);rn setContentView(R.layout.activity_main);rnrn edUserName=(EditText) findViewById(R.id.edUserName);rn edPassWord=(EditText) findViewById(R.id.edPassWord);rn btnLogin=(Button) findViewById(R.id.btnLogin);rnrn cbRememberPwd=(CheckBox) findViewById(R.id.cbRememberPwd);rn cbAutoLanding=(CheckBox) findViewById(R.id.cbAutoLanding);rnrn TextView tvEnrolment = (TextView) findViewById(R.id.tvEnrolment);rn TextView tvFindPwd = (TextView) findViewById(R.id.tvFindPwd);rnrn tvEnrolment.setOnClickListener(new View.OnClickListener() rn @Overridern public void onClick(View v) rn Toast.makeText(MainActivity.this, "注册", Toast.LENGTH_SHORT).show();rn rn );rnrn tvFindPwd.setOnClickListener(new View.OnClickListener() rn @Overridern public void onClick(View v) rn Toast.makeText(MainActivity.this, "找回密码", Toast.LENGTH_SHORT).show();rn rn );rnrn cbAutoLanding.setOnCheckedChangeListener(this);rn cbRememberPwd.setOnCheckedChangeListener(this);rnrnrnrn Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);rn setSupportActionBar(toolbar);rnrn FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab);rn fab.setOnClickListener(new View.OnClickListener() rn @Overridern public void onClick(View view) rn Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG)rn .setAction("Action", null).show();rn rn );rnrnrnrnrnrnrn rnrn /**rn * 登录按钮事件rn *rn * @param vrn */rnrn public void login(View v) rnrn String username = edUserName.getText().toString().trim();rn String password = edPassWord.getText().toString().trim();rnrn if (TextUtils.isEmpty(username) || TextUtils.isEmpty(password)) rn Toast.makeText(this, "请输入用户名或密码", Toast.LENGTH_SHORT).show();rn rn if ("123".equals(password) && "shuiguo".equals(username)) rn Toast.makeText(this, "账号 " + username + " 登录成功", Toast.LENGTH_SHORT).show();rn else rn Toast.makeText(this, "用户名或密码有错误,请重新输入", Toast.LENGTH_SHORT).show();rn rnrn rnrn @Overridern public boolean onCreateOptionsMenu(Menu menu) rn // Inflate the menu; this adds items to the action bar if it is present.rn getMenuInflater().inflate(R.menu.menu_main, menu);rn return true;rn rnrn @Overridern public boolean onOptionsItemSelected(MenuItem item) rn // Handle action bar item clicks here. The action bar willrn // automatically handle clicks on the Home/Up button, so longrn // as you specify a parent activity in AndroidManifest.xml.rn int id = item.getItemId();rnrn //noinspection SimplifiableIfStatementrn if (id == R.id.action_settings) rn return true;rn rnrn return super.onOptionsItemSelected(item);rn rnrnrnrn @Overridern public void onStart() rn super.onStart();rnrn // ATTENTION: This was auto-generated to implement the App Indexing API.rn // See https://g.co/AppIndexing/AndroidStudio for more information.rn client.connect();rn Action viewAction = Action.newAction(rn Action.TYPE_VIEW, // TODO: choose an action type.rn "Main Page", // TODO: Define a title for the content shown.rn // TODO: If you have web page content that matches this app activity's content,rn // make sure this auto-generated web page URL is correct.rn // Otherwise, set the URL to null.rn Uri.parse("http://host/path"),rn // TODO: Make sure this auto-generated app deep link URI is correct.rn Uri.parse("android-app://com.example.wuliqiang.login/http/host/path")rn );rn AppIndex.AppIndexApi.start(client, viewAction);rn rnrn @Overridern public void onStop() rn super.onStop();rnrn // ATTENTION: This was auto-generated to implement the App Indexing API.rn // See https://g.co/AppIndexing/AndroidStudio for more information.rn Action viewAction = Action.newAction(rn Action.TYPE_VIEW, // TODO: choose an action type.rn "Main Page", // TODO: Define a title for the content shown.rn // TODO: If you have web page content that matches this app activity's content,rn // make sure this auto-generated web page URL is correct.rn // Otherwise, set the URL to null.rn Uri.parse("http://host/path"),rn // TODO: Make sure this auto-generated app deep link URI is correct.rn Uri.parse("android-app://com.example.wuliqiang.login/http/host/path")rn );rn AppIndex.AppIndexApi.end(client, viewAction);rn client.disconnect();rn rnrn /**rn * 记住密码,自动登录rn *rn * @param buttonViewrn * @param isCheckedrn */rnrn @Overridern public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) rnrn switch (buttonView.getId()) rn case R.id.cbAutoLanding:rn Toast.makeText(this, "下次自动登录", Toast.LENGTH_SHORT);rn break;rn case R.id.cbRememberPwd:rn Toast.makeText(this, "已经记住密码", Toast.LENGTH_SHORT);rn break;rn rn rnrn
打印报错怎么解决?
今天在打印一个word文档的时候,出现报错对话框“说是内存不能为writen”然后就自动关闭。高手们,帮帮忙 啊。
php5.3.5 __set()方法报错怎么解决
$property_name))rn rn return($this->$property_name);rn rn elsern rn return(NULL);rn rn rn rn private function __set($property_name, $value)rn rn $this->$property_name = $value;rn rnrn?>rnrn在其他没环境下好使没有问题rnrn但是php5.35中报错rnrnrnWarning: The magic method __set() must have public visibility and cannot be static in E:\phpweb\phpOA\Model\ModuleInfo.class.php on line 24rn请问怎么解决 谢谢
Wcf 方法访问头报错 怎么解决
rn下面是我在WCF服务中写的代码rn```rn [OperationContract]rn [WebInvoke(rn Method = "POST",rn BodyStyle = WebMessageBodyStyle.WrappedRequest,rn ResponseFormat = WebMessageFormat.Json,rn RequestFormat = WebMessageFormat.Json)]rn void DoWork(string jsonstr,int boxid);rn```rn为什么WebInvoke报错?错误提示“未找到类型或命名空间WebInvoke(是否缺少using指令或程序集引用)”。怎么解决?rn
老调重谈,网上找不到解决的方法
老调重谈,网上找不到解决的方法rn关于COOKIE的问题.rnrnrn类似于动网,CSDN等网站一样,登陆的时候,有一个远项就是:保存一天,保存一年,等.rnrn他们都可以实现,但我在CSDN里面搜边了,也没有这样的代码.rnrn一般都是简单的设置过期时间,那没用的,不管是COOKIE还是用session,都没有用,只要把IE关了,都全部失效.rnrn根本就不可能保存一天,或保存一年.难道这个真没有办法了.真不知道他们怎么写了,就是关了电脑,第二天打开网站,一样是自动登陆,不用重新登陆,.............rnrn想要一个实例.关于COOKIE与session看的太多了,找了一堆代码,但没有一个能做到关了IE,COOKIE与session不用失效,第二天还可以登陆..别说第二天,只要关了IE全部失效.哎............
myql意外1067停止怎么办?网上找了很多都没解决,不知my.ini怎么配置,求助。。。。
[img=https://img-bbs.csdn.net/upload/201408/11/1407738686_845283.jpg][/img]rnrnrn查看错误日志:如下'mysql.user' doesn't existrn140811 14:26:48 [Note] Plugin 'FEDERATED' is disabled.rn140811 14:26:49 InnoDB: Started; log sequence number 0 87898rn140811 14:26:49 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
关于数据冲突的问题,我找了很久都不能解决(难)
有一个表Table1,字段A1(PRIMARY KEY)rn在表单form1中放一个textbox1(textbox1与字段A1绑定)、datagrid1(datagrid1与Table1绑定),点击“添加”命令按钮(代码:dataset1.table("Table1").newrow),这时在datagrid1最下面出现一行空行,我在文本框Textbox1输入"T01"(字段A1已经存在"T01"),然后再点击datagrid1最后的空行,出现提示(提示标题为:向原始数据存储区提交行时出错,正文为:"A1"被约束为唯一的值,"T01"已存在,要更正该值吗?)程序就此终止。rn我找了很多办法(包括datatable的columnchanging事件),但都不能用自已的代码来控制这个错误,请各位高手帮帮忙,感激涕零!!!
C++面试题,从网上找了很多资料。
C++面试题,从网上找的,可以看看,学习一下。
关于数据冲突的问题,我找了很久都不能解决
有一个表Table1,字段A1(PRIMARY KEY),字段A2rn在表单form1中放一个textbox1(textbox1与字段A1绑定)、textbox2(textbox2与字段A2绑定)、datagrid1(datagrid1与Table1绑定),点击“添加”命令按钮(代码:dataset1.table("Table1").newrow),这时在datagrid1最下面出现一行空行,我在文本框Textbox1输入"T01"(字段A1已经存在"T01"),然后再点击datagrid1最后的空行,出现提示(提示标题为:向原始数据存储区提交行时出错,正文为:"A1"被约束为唯一的值,"T01"已存在,要更正该值吗?)程序就此终止。rn我找了很多办法(包括datatable的columnchanging事件),但都不能用自已的代码来控制这个错误,请各位高手帮帮忙,感激涕零!!!
断电设置无效,网上找了很多方法都没用
我是用VS2008的,现在通过网页调用ACTIVEX控件,但问题就是我现在设置的断点没用,调试的进不去。ACTIVEX控件是通过MFC开发的
求大神解决,sybase 报错 怎么解决
求大神解决,已经两天了 没有弄出来
Java Applet都不能干什么?怎么解决?
传说Applet不能读写本地文件,而且网络功能也有限制。rn请问有没有什么解决的办法?rn我想用运行的Applet作为服务器端,可以么?rn先谢过了
解决Nginx的403报错的方法
解决Nginx的403报错的方法 于是查看nginx日志 # 1.进入自己所建的Nginx目录 cd Nginx # 2.进入logs目录 cd logs # 3.查看error.log的报错 vi error.log 发现permission错误 有可能是以下4种原因 1.由于启动用户和nginx工作用户不一致所致 1.1 查看启动用户(看启动用户nobody还是root) ps...
关于解决ORA-12154报错的方法
前几天鬼使神差的想在本机上装一个cognos服务器和Oracle服务器,结果弄巧成拙,不但cognos服务器和Oracle服务器没有装成,就连本机使用的PL/SQL都没有办法连接远程数据库了,报错:ORA-12154 : TNS : 无法解析指定的连接标识符。 我的Oracle客户端使用Oracle10g,服务端装的是Oracle11g,后来把本地的Oracle11g卸载了还是不行,后来经...
解决Context的startActivity方法报错
错误如下Java代码  02-10 13:26:11.048: ERROR/AndroidRuntime(17173): Caused by: android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW...
解决uap访问限制报错的方法
报错信息: 描述 资源 路径 位置 类型 访问限制:由于对必需的库 D:\ttbz\nchome_cttbz_test\modules\erm\META-INF\classes\ 具有一定限制,因此无法访问类型 BxVerifyAccruedBillBO BXZbBO.java /NC63_chinatt_normal/erm/src/private/nc/bs/arap/bx 第 1
解决Gradle版本冲突
  解决这行冲突, 报错的时候 Alt + 回车不能解决大部分冲突问题 configurations.all { resolutionStrategy.eachDependency { DependencyResolveDetails details -&amp;gt; def requested = details.requested if (reque...
Gradle之解决版本冲突(5)
Gradle之解决版本冲突 依赖的传递性给我们带来了便利,同时也会造成版本冲突问题。 解决办法: 查看依赖报告 排除传递性依赖 强制版本冲突 除了上面我们自己解决冲突,gradle也会帮助我们解决,当我们引入多个版本jar时,它默认是最高版本的jar。 解决办法 修改默认策略 configurations.all{ resolutionStrategy{ ...
解决android gradle的问题
主要原因是因为网络慢,下离线包再放到android studio/gradle就行,特此记录。
appcompat_v7报错,R.java里面很多错误怎么解决
如图所示,求指导怎么解决rn[img=https://img-bbs.csdn.net/upload/201510/12/1444616325_729555.png][/img][img=https://img-bbs.csdn.net/upload/201510/12/1444616334_188575.png][/img]
【gradle】问题及解决
DSL method not found exclude()我想从工程依赖的一个库工程中exclude掉其依赖的一个库。 我写成:compile project(':contacts'){ exclude module: 'customizekeyboard' }会提示问题 dsl method not found exclude() 改成下面compile (proj
相关热词 c# 去空格去转义符 c#用户登录窗体代码 c# 流 c# linux 可视化 c# mvc 返回图片 c# 像素空间 c# 日期 最后一天 c#字典序排序 c# 截屏取色 c#中的哪些属于托管机制