草庐IT

install-configuration

全部标签

java - 如何: Eclipse Maven install build jar with dependencies

我在Eclipse中使用EclipseMaven(m2e),我正在像这样运行我的项目:我的pom.xml看起来像这样:4.0.0ro.projectjar1.0-SNAPSHOTro.project3.1.1.RELEASE4.1.0.Finalorg.springframeworkspring-core${org.springframework.version}org.apache.maven.pluginsmaven-jar-plugintruelib/ro.project.ProjectServermaven-antrun-plugincom.suntools1.7.0_02sy

java - Eclipse 显示 "Maven Configuration Problem: Unknown"

我刚刚导入了我在https://start.spring.io/中创建的一个spingboot项目在eclipse。我尝试导入两次,但问题仍然存在。已经尝试进行mvnupdate,mvncleaninstall,尝试清理项目,但这些都不起作用。它在pomxml文件的第一行中存在问题。我不知道如何解决这个问题。我正在使用java11这是完整的POM文件:4.0.0org.springframework.bootspring-boot-starter-parent2.1.5.RELEASEcom.in28minutes.springboot.rest.examplespring-boot-

java - org.hibernate.cfg.Configuration.getClassMapping(className) 方法从 4.3.x 到 5.x 的 hibernate 迁移

在Hibernate4.3.x中,有一个类org.hibernate.cfg.Configuration的方法getClassMapping(className)。但是在Hibernate5.x中,这个getClassMapping(className)方法从Configuration类中移除了。Hibernate-5中的代码替换是什么?请帮助解决此迁移问题。 最佳答案 我posted到BroadleafCommerce,因为他们还需要PersistentClass:I'vebeentoolingwithHibernate5,and

java - Android Studio 错误 : "Environment variable does not point to a valid JVM installation"

尝试在我的计算机上运行AndroidStudio时,我收到以下错误:TheEnvironmentvariableJAVA_HOME(withavalueofC:\Program Files(x86)\Java\jdk1.7.0_51\bin)doesnotpointtoavalidJVMinstallation我试图删除JAVA_HOME环境变量上的\bin扩展,但它给了我以下错误:NoJVMFound.Pleaseinstalla64-bitJDK.IfyoualreadyhaveaJDKinstalled,defineaJAVA_HOMEvariableinComputer>Sys

java - 如何在我的 android 应用程序中修复 INSTALL_PARSE_FAILED_MANIFEST_MALFORMED

您好,我正在尝试使用gcm,但无法使其正常工作。不知道我在哪里弄乱它,下面是我得到的错误。我正在尝试直接在设备上部署我的应用程序并从那里进行调试,但是当我尝试部署它时会出现此错误Waitingfordevice.Targetdevice:HT24LW108632Uploadingfilelocalpath:D:\Data\Android\AndroidTest\out\production\AndroidTest\AndroidTest.apkremotepath:/data/local/tmp/Android.TestInstallingAndroid.TestDEVICESHELL

java - Configuration.generateSchemaCreationScript() 在 Hibernate 5 中去了哪里

在Hibernate4.x中,我曾经生成和导出带注释实体中定义的模式,如下所示(使用Spring在类路径上查找带注释的实体):Connectionconnection=DriverManager.getConnection("jdbc:h2:mem:jooq-meta-extensions","sa","");Configurationconfiguration=newConfiguration().setProperty("hibernate.dialect","org.hibernate.dialect.H2Dialect");//[...]addingannotatedclass

java - 设置操作系统环境变量后,Apache Maven install "' mvn' not Recognized as an internal or external command"?

锁定。这个问题及其答案是locked因为这个问题是题外话,但具有历史意义。它目前不接受新的答案或交互。我已按照官方安装说明here适用于WindowsXP。但有时当我执行mvn--version时,我会收到错误消息,'mvn'notrecognizedasaninternalorexternalcommand我什至重新启动了我的机器几次,但操作系统并不总是能识别maven命令。但是当我执行cd%M2_HOME%或cd%M2%时,它会将我带到安装目录。我还确保将用户变量M2添加到Path系统变量中。那么,什么给了? 最佳答案 解决方法

java - “log4j:configuration” 必须匹配 “(renderer….loggerFactory)?)”

在将我的war文件部署到tomcat时出现错误:log4j:WARNThecontentofelementtype"log4j:configuration"mustmatch"(renderer*,throwableRenderer?,appender*,plugin*,(category|logger)*,root?,(categoryFactory|loggerFactory)?)"我搜索了一下,发现我的log4j.xml的顺序可能是错误的,但它应该是正确的。有什么建议吗? 最佳答案 根据错误消息,DTD期望所有category

java - JDBC SQLServerException : "This driver is not configured for integrated authentication."

我正在为SmartFoxServer编写“服务器端扩展”(SFS)。在我的登录脚本中,我需要连接到我正在尝试使用JDBC进行的MSSQLServer。我已经在我的调试环境中测试了JDBC代码,它运行良好。但是当我将服务器端扩展放入SFS“扩展”文件夹(按照规范)时,我得到一个com.microsoft.sqlserver.jdbc.SQLServerException:"Thisdriverisnotconfiguredforintegratedauthentication.".我用Google搜索了这个错误,发现通常是因为文件sqljdbc_auth.dll不在系统路径中;我已将此文

java - 错误未知失败(在 android.os.Binder.execTransact(Binder.java :565)) Error while Installing APKs

谁能告诉我这是什么意思?一切都很好,我没有改变任何东西,只是发生了,这是Binder565中的代码:try{res=onTransact(code,data,reply,flags);}catch(RemoteException|RuntimeExceptione){if(LOG_RUNTIME_EXCEPTION){Log.w(TAG,"CaughtaRuntimeExceptionfromthebinderstubimplementation.",e);}if((flags&FLAG_ONEWAY)!=0){if(einstanceofRemoteException){Log.w(