springMVC フレームワークを学習しているときに、Tomcat に関していくつかの問題に遭遇しました。
1 つ目: このエラー java.lang.IllegalArgumentException: サポートされていないクラス ファイルのメジャー バージョン 59。これはバージョンの互換性がないためです。jdk のバージョンを下げてみてください。
2 番目の問題は、「Bean」要素の宣言が見つからないことです。
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
https://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/mvc
https://www.springframework.org/schema/mvc/spring-mvc.xsd">
設定 XML ファイルの先頭にエラーがあります。メモに値を割り当てるには公式 Web サイトにアクセスすることをお勧めします。手で入力する場合、コピーする場合よりもエラー率が高くなります。