0 0

appfuse 的appfuse:full-source的时候出错,怎么解决呢?0

0.GA.jar
65K downloaded  (hibernate-commons-annotations-3.1.0.GA.jar)
Downloading: http://repo1.maven.org/maven2/org/hibernate/hibernate-annotations/3.4.0.GA/hibernate-annotations-3.4.0.GA.jar
273K downloaded  (hibernate-annotations-3.4.0.GA.jar)
[INFO] [appfuse:full-source {execution: default-cli}]
[INFO] [AppFuse] Source successfully exported, modifying pom.xml...
[INFO] [AppFuse] Adding dependencies from root module...
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.pro
vider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[INFO] ------------------------------------------------------------------------
[INFO] Trace
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.c
ertpath.SunCertPathBuilderException: unable to find valid certification path to requested target
        at org.apache.tools.ant.taskdefs.Get.execute(Get.java:139)
        at org.appfuse.mojo.installer.InstallSourceMojo.addModuleDependencies(InstallSourceMojo.java:699)
        at org.appfuse.mojo.installer.InstallSourceMojo.execute(InstallSourceMojo.java:253)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:589)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security
.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
        at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1520)
        at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:182)
        at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:176)
        at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:975)
        at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:123)
        at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:511)
        at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:449)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:817)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1029)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1056)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1040)
        at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:405)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:170)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:133)
        at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:661)
        at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:581)
        at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:571)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilder
Exception: unable to find valid certification path to requested target
        at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:285)
        at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:191)
        at sun.security.validator.Validator.validate(Validator.java:218)
        at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)
        at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209)
        at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)
        at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:954)
        ... 13 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

        at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174)
        at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238)
        at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:280)
        ... 19 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 43 seconds
[INFO] Finished at: Mon Jan 07 18:21:43 CST 2013
[INFO] Final Memory: 10M/20M
[INFO] ------------------------------------------------------------------------
2013年1月08日 09:15
目前还没有答案

相关推荐

    建立项目原型骨架的步骤(最新版本appfuse)appfuse2.1.0-M2

    `mvn archetype:generate -B -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-struts-archetype -DarchetypeVersion=2.1.0-M2 -DgroupId=cn.xue.app -DartifactId=xueAppFuse` ...

    appfuse-light-webwork-spring-jdbc-1.8.2.zip_Java 8_appfuse_webwo

    在"appfuse-light-webwork-spring-jdbc-1.8.2.zip"这个压缩包中,我们能看到一个基于Java 8、WebWork、Spring和JDBC的项目实例。 **Java 8** Java 8是Java平台的重大更新,引入了许多新特性,如lambda表达式、函数...

    appfuse-tutorial-struts-1.6.zip_appfuse

    这个"appfuse-tutorial-struts-1.6.zip"文件是一个基于Struts 1.6的AppFuse教程,用于指导开发者如何构建一个企业级的人员管理系统。Struts是Apache软件基金会下的一个开源框架,专门用于构建基于MVC(Model-View-...

    appfuse 学习笔记

    为了加速构建过程,可以从 Appfuse 的官方网站下载预先打包好的依赖文件 `appfuse-2.0-rc1-dependencies.zip`,解压后放到 `.m2\repository` 目录下,这样 Maven 就可以直接使用这些文件,而无需下载。 #### 五、...

    appfuse.tar.gz

    AppFuse - Providing integration and style to open source Java. ----------------------------------------------------------------------------- Developer notes on setting up your IDE to work with ...

    appfuse帮助文档

    <amp.fullSource>true</amp.fullSource> ``` 5. **生成基础代码**:执行`mvn appfuse:full-source`命令来生成项目所需的默认类。 6. **创建数据库表**:为了与数据库交互,需要先创建对应的数据库表。例如,可以...

    appfuse2学习日记

    5. **下载源代码**:在项目目录中运行 `mvn appfuse:full-source` 命令。 6. **运行项目**: - 使用 Jetty 运行项目:`mvn jetty:run-war`。 - Jetty 下载地址:...

    appfuse常用命令.docx

    AppFuse 是一个开源项目,它提供了一种快速构建基于Java Web应用的方法。它结合了多种框架,如Spring、Hibernate和Struts,以简化开发过程。本文将详细介绍AppFuse中的常用命令,帮助开发者更高效地管理和构建项目。...

    appfuse新手上路

    - 运行`mvn appfuse:full-source`命令,可能会遇到ant 1.7.0的bug,解决方案是在`maven/conf/settings.xml`中配置本地仓库路径,如`<localRepository>C:\appfuse\repository</localRepository>`。 **3. Eclipse...

    Appfuse 2.doc

    如果网络速度较慢,可以选择手动下载并解压`appfuse-2.0-rc1-dependencies.zip`到该目录。 #### 六、不同配置类型的Maven命令示例 除了Struts 2 Basic之外,Appfuse 2.0还支持其他几种配置类型,每种配置类型的...

    AppFuse学习笔记(J2EE入门级框架)

    【AppFuse 框架详解】 AppFuse 是一个由 Matt Raible 创建的开源项目,它为初学者提供了... mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=appfuse-basic-spring -DremoteRepositories=...

    appfuse-documentation-2.1.0官方文档

    ### AppFuse 2.1.0 官方文档解析 #### 概述 AppFuse 是一个集成了一系列流行的开源框架和技术的 Web 开发框架,旨在帮助 J2EE 开发者更高效地构建 Web 应用程序。它包含了诸如 Hibernate、ibatis、Struts、Spring...

    Appfuse常用命令.doc

    AppFuse 是一个开源项目,它提供了一种快速构建基于Java Web应用的方式。它结合了多种框架和技术,如Spring、Hibernate、Struts等,简化了开发流程。文档中提到的是AppFuse中与Maven相关的常用命令,特别是针对...

    AppFuse入门文档(AppFuse与SpringMVC+mybatis整合)

    ### AppFuse与SpringMVC+MyBatis整合详解 #### 一、概述 AppFuse是一个开源的应用程序骨架,主要用于快速构建基于Java的企业级应用。它提供了丰富的模板和配置,能够帮助开发者快速搭建起一个完整的应用架构。本...

    appfuse-documentation-2.0

    ### AppFuse:高效Java Web应用开发框架 #### 一、概述 AppFuse作为一个热门的开源项目,被广泛应用于Java Web应用程序的快速启动与开发。它不仅简化了开发流程,还提高了开发效率。该项目的核心目标是减少新Web...

    appfuse 2.0 教程

    ### AppFuse 2.0 教程:快速搭建 Web 应用开发框架 #### 一、AppFuse 介绍 AppFuse 是一个开源项目和应用程序,它利用 Java 平台上的开源工具帮助开发者快速且高效地开发 Web 应用程序。最初,AppFuse 被设计用来...

    Appfuse构建指南

    -DarchetypeArtifactId=appfuse-basic-struts \ -DremoteRepositories=http://static.appfuse.org/releases \ -DarchetypeVersion=2.0.2 \ -DgroupId=com.mycompany.app \ -DartifactId=appfuse ``` - 此命令...

    Java Appfuse-源代码分析-综合文档

    【Appfuse 源代码分析】Appfuse 是一个基于 Maven 的 Java 开发框架,它集成了...mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-struts -DremoteRepositories=...

    appfuse学习笔记(一)安装部署

    替换 `<选择的模板>` 为下载的模板名称,如 `appfuse-basic`,`appfuse-minimal` 等,`<对应版本>` 是你下载的 AppFuse 版本号。 **4. 编译与运行** 进入新创建的项目目录,使用 Maven 编译并运行项目: ``` cd my...

    MAVEN 搭建APPFUSE

    mvn archetype:generate -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-modern-webapp -DarchetypeVersion=<版本号> ``` 这里,你需要替换`<版本号>`为当前AppFuse的版本。 步骤4:...

Global site tag (gtag.js) - Google Analytics