關於使用 CrossOrign專案報錯的問題解決

2021-09-24 14:10:54 字數 1457 閱讀 8798

原因分析:本專案的spring-jar包版本較低。

當使用@crossorign時,需要匯入相應spring-web的jar包,版本高於本專案已有的spring-jar包,此時最好對本專案的jar包進行公升級。

5.0.8.release

org.springframework

spring-beans

$ org.springframework

spring-core

$ org.springframework

spring-context

$ org.springframework

spring-expression

$ org.springframework

spring-context-support

$ org.springframework

spring-context-indexer

$

org.springframework

spring-aop

$

org.springframework

spring-aspects

$

org.springframework

spring-instrument

$

org.springframework

spring-messaging

$

org.springframework

spring-jdbc

$ org.springframework

spring-orm

$ org.springframework

spring-oxm

$ org.springframework

spring-jms

$ org.springframework

spring-tx

$

org.springframework

spring-websocket

$ org.springframework

spring-web

$ org.springframework

spring-webmvc-portlet

$

org.springframework

spring-webmvc

$ org.springframework

spring-webflux

$

org.springframework

spring-test

$

關於Calendar的一些使用注意項

輸出週幾,月份,年份 calendar cal calendar.getinstance cal.settime new date system.out.println cal.get calendar.month 輸出月份 system.out.println cal.get calendar.y...

關於二項式定理

關於二項式定理 感謝 lfd 定理內容 a b n c n 0 a n b 0 c n 1 a b 1 c n n a 0 b n 也就是 a b n sigma nc n ka kb 通項公式 t c n r a b r r in 0,n 解釋一下各字母的含義 t r 1 表示第 r 1 項是什麼...

使用 DISTINCT 消除重複項

例如,如果在titleauthor中選擇所有作者 id 時未使用 distinct,那麼將會返回下列行 其中包括一些重複的行 use pubs select au id from titleauthor下面是結果集 au id 172 32 1176 213 46 8915 213 46 8915 ...