Maven 中 com.adobe.blazeds 的配置失效解决方案
来源:互联网 发布:java sdk安装 编辑:程序博客网 时间:2024/05/21 06:20
在接手项目中存在 dependency 为 com.adobe.blazeds 一直无法获取,执行 maven install 过程中总失败。
<span style="white-space:pre"></span><dependency><groupId>com.adobe.blazeds</groupId><artifactId>blazeds-common</artifactId><version>4.0.0.14931</version></dependency><dependency><groupId>com.adobe.blazeds</groupId><artifactId>blazeds-core</artifactId><version>4.0.0.14931</version></dependency>经查找,此 dependency 已被废弃,blazeds 疑似并入了 apache 的 flex 项目中。
方案一:替换 blazeds 为 flex 源。由于两者包内数据几乎无异,可无修改替换。目前的最新 flex 包已经更新为 4.7.2。更换以上 dependency 为以下包,再执行 maven -> update project 以及 run -> maven install。
<dependency><groupId>org.apache.flex.blazeds</groupId><artifactId>flex-messaging-common</artifactId><version>4.7.2</version></dependency><dependency><groupId>org.apache.flex.blazeds</groupId><artifactId>flex-messaging-core</artifactId><version>4.7.2</version></dependency>若 flex 源无法下载,可添加以下 apache 的官方源。将以下 repositories 添加至项目内 pom.xml 的 project 节点下。
<repositories><repository><id>apache-maven2-repository</id><url>https://repo1.maven.org/maven2/</url><releases><enabled>true</enabled></releases><snapshots><enabled>false</enabled></snapshots></repository></repositories><pluginRepositories><pluginRepository><id>apache-maven2-repository</id><url>https://repo1.maven.org/maven2/</url><releases><enabled>true</enabled></releases><snapshots><enabled>false</enabled></snapshots></pluginRepository></pluginRepositories>
方案二:查找 com.adobe.blazeds 相关的 repository,添加至项目内 pom.xml 的 project 节点下。再执行 maven -> update project 以及 run -> maven install。
<repositories><repository><id>spring-flex-repository</id><url>https://src.springsource.org/svn/spring-flex/trunk/spring-flex/local-repo/</url><releases><enabled>true</enabled></releases><snapshots><enabled>false</enabled></snapshots></repository></repositories><pluginRepositories><pluginRepository><id>spring-flex-repository</id><url>https://src.springsource.org/svn/spring-flex/trunk/spring-flex/local-repo/</url><releases><enabled>true</enabled></releases><snapshots><enabled>false</enabled></snapshots></pluginRepository></pluginRepositories>
0 0
- Maven 中 com.adobe.blazeds 的配置失效解决方案
- FlashBuilder中BlazeDS服务的配置
- 配置maven过程中报过的错及其解决方案
- BlazeDS运行期的配置
- BlazeDS的功能及配置
- 解决maven工程中使用spring-boot后导致的profile多环境配置失效的问题
- maven 程序包com.sun.image.codec.jpeg不存在的解决方案
- maven 程序包com.sun.image.codec.jpeg不存在的解决方案
- 自定义 HTTP 处理程序中 Session失效的解决方案
- margin:0 auto在IE中失效的解决方案
- 内嵌式WebView中锚链接失效的解决方案
- eclipse下maven项目中EL表达式失效的问题
- mssql+hibernate+blazeds+flex的配置说明
- FLEX 与JAVA的LCDS BLAZEDS配置.
- BlazeDS的功能原理及配置实例
- Maven及IDEA中Maven的配置
- 在Maven项目中加入gradle依赖项,查看开源库gradle 的配置地址mvnrepository.com中搜索
- 快捷方式全部失效的解决方案。
- git
- Android 6.0 运行时权限处理完全解析
- 骨牌覆盖
- 【NOIP2011模拟9.3】跳舞 (Standard IO)
- leetcode Bitwise AND of Numbers Range
- Maven 中 com.adobe.blazeds 的配置失效解决方案
- 学习OpenGL-ES: 2 - EGL解析
- VS2010/MFC编程入门之十九(对话框:颜色对话框)
- 更改app store开发商名字
- android 接口回调用法
- 延迟是AR/VR体验的基础
- Oracle连接查询
- 线程属性设置
- JSP与SEVERLET