【问题标题】:Flex 3 and Spring 4 Integration POM DependenciesFlex 3 和 Spring 4 集成 POM 依赖项
【发布时间】:2012-03-20 07:23:50
【问题描述】:

为了完全下载 Spring Blaze 集成项目所需的所有 Spring 3 和 Flex 4 文件,需要哪些 maven 依赖项?

目前我收到一个异常,即找不到此类:

flex.messaging.​AbstractFlexSessionProvider

谢谢

【问题讨论】:

    标签: apache-flex spring flex4 blazeds


    【解决方案1】:

    以下是您需要的依赖项:

    <!--  jms -->
            <dependency>
                <groupId>javax.jms</groupId>
                <artifactId>jms</artifactId>
                <version>1.1</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-jms</artifactId>
                <version>3.0.6.RELEASE</version>
            </dependency>
            <!-- Spring -->
    
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-context</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
    
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-webmvc</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
    
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-test</artifactId>
                <version>${org.springframework.version}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-orm</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
    
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-tx</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
    
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-aop</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
    
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-beans</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
    
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-core</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
    
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-context-support</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
    
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-web</artifactId>
                <version>3.0.5.RELEASE</version>
            </dependency>
    
            <!-- Spring Security Dependencies -->
            <dependency>
                <groupId>org.springframework.security</groupId>
                <artifactId>spring-security-core</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
    
            <dependency>
                <groupId>org.springframework.security</groupId>
                <artifactId>spring-security-web</artifactId>
                <version>${org.springframework.security.version}</version>
            </dependency>
    
            <dependency>
                <groupId>org.springframework.security</groupId>
                <artifactId>spring-security-config</artifactId>
                <version>${org.springframework.version}</version>
            </dependency>
    
            <!-- Dependencies for Spring Flex Remoting -->
            <dependency>
                <groupId>org.springframework.flex</groupId>
                <artifactId>spring-flex</artifactId>
                <version>${org.springframework.flex.version}</version>
            </dependency>
    
            <dependency>
            <groupId>com.adobe.flex.framework</groupId>
            <artifactId>flex-framework</artifactId>
            <version>${flex.sdk.version}</version>
            <type>pom</type>
             <exclusions> 
               <exclusion> 
                <groupId>com.adobe.flex.framework</groupId> 
                <artifactId>playerglobal</artifactId> 
               </exclusion> 
             </exclusions>
        </dependency>
    
        <dependency> 
              <groupId>com.adobe.flex.framework</groupId> 
              <artifactId>playerglobal</artifactId> 
              <version>${flex.sdk.version}</version>
              <classifier>10.1</classifier>
              <type>swc</type> 
         </dependency>
    

    【讨论】:

      猜你喜欢
      • 2021-07-24
      • 2014-07-04
      • 2013-09-22
      • 2011-08-22
      • 2018-09-08
      • 2022-12-06
      • 1970-01-01
      • 1970-01-01
      • 2011-08-30
      相关资源
      最近更新 更多