Unsupported major.minor version

本文介绍了解决因JRE与JDK版本不匹配导致的问题的方法:使用较新版本的Java JRE运行Java代码,或者指定目标参数给Java编译器以生成与旧版Java兼容的代码。
To fix the actual problem you should try to either run the Java code with a newer version of Java JRE or specify the target parameter to the Java compiler to instruct the compiler to create code compatible with earlier Java versions.

JRE and JDK 版本不匹配, JDK 新
GetCapabilities Description: This method has been replaced by the more generic GetServices method. For capabilities of individual services refer to the GetServiceCapabilities methods. SOAP action: http://www.onvif.org/ver10/device/wsdl/GetCapabilities Input: [GetCapabilities] Category - optional, unbounded; [CapabilityCategory] List of categories to retrieve capability information on. - enum { 'All', 'Analytics', 'Device', 'Events', 'Imaging', 'Media', 'PTZ' } Output: [GetCapabilitiesResponse] Capabilities [Capabilities] Capability information. Analytics - optional; [AnalyticsCapabilities] Analytics capabilities XAddr [anyURI] Analytics service URI. RuleSupport [boolean] Indicates whether or not rules are supported. AnalyticsModuleSupport [boolean] Indicates whether or not modules are supported. Device - optional; [DeviceCapabilities] Device capabilities XAddr [anyURI] Device service URI. Network - optional; [NetworkCapabilities] Network capabilities. IPFilter - optional; [boolean] Indicates whether or not IP filtering is supported. ZeroConfiguration - optional; [boolean] Indicates whether or not zeroconf is supported. IPVersion6 - optional; [boolean] Indicates whether or not IPv6 is supported. DynDNS - optional; [boolean] Indicates whether or not is supported. Extension - optional; [NetworkCapabilitiesExtension] Dot11Configuration - optional; [boolean] Extension - optional; [NetworkCapabilitiesExtension2] System - optional; [SystemCapabilities] System capabilities. DiscoveryResolve [boolean] Indicates whether or not WS Discovery resolve requests are supported. DiscoveryBye [boolean] Indicates whether or not WS-Discovery Bye is supported. RemoteDiscovery [boolean] Indicates whether or not remote discovery is supported. SystemBackup [boolean] Indicates whether or not system backup is supported. SystemLogging [boolean] Indicates whether or not system logging is supported. FirmwareUpgrade [boolean] Indicates whether or not firmware upgrade is supported. SupportedVersions - unbounded; [OnvifVersion] Indicates supported ONVIF version(s). Major [int] Major version number. Minor [int] Two digit minor version number. If major version number is less than "16", X.0.1 maps to "01" and X.2.1 maps to "21" where X stands for Major version number. Otherwise, minor number is month of release, such as "06" for June. Extension - optional; [SystemCapabilitiesExtension] HttpFirmwareUpgrade - optional; [boolean] HttpSystemBackup - optional; [boolean] HttpSystemLogging - optional; [boolean] HttpSupportInformation - optional; [boolean] Extension - optional; [SystemCapabilitiesExtension2] IO - optional; [IOCapabilities] I/O capabilities. InputConnectors - optional; [int] Number of input connectors. RelayOutputs - optional; [int] Number of relay outputs. Extension - optional; [IOCapabilitiesExtension] Auxiliary - optional; [boolean] AuxiliaryCommands - optional, unbounded; [AuxiliaryData] Extension [IOCapabilitiesExtension2] Security - optional; [SecurityCapabilities] Security capabilities. TLS1.1 [boolean] Indicates whether or not TLS 1.1 is supported. TLS1.2 [boolean] Indicates whether or not TLS 1.2 is supported. OnboardKeyGeneration [boolean] Indicates whether or not onboard key generation is supported. AccessPolicyConfig [boolean] Indicates whether or not access policy configuration is supported. X.509Token [boolean] Indicates whether or not WS-Security X.509 token is supported. SAMLToken [boolean] Indicates whether or not WS-Security SAML token is supported. KerberosToken [boolean] Indicates whether or not WS-Security Kerberos token is supported. RELToken [boolean] Indicates whether or not WS-Security REL token is supported. Extension - optional; [SecurityCapabilitiesExtension] TLS1.0 [boolean] Extension - optional; [SecurityCapabilitiesExtension2] Dot1X [boolean] SupportedEAPMethod - optional, unbounded; [int] EAP Methods supported by the device. The int values refer to the IANA EAP Registry. RemoteUserHandling [boolean] Extension - optional; [DeviceCapabilitiesExtension] Events - optional; [EventCapabilities] Event capabilities XAddr [anyURI] Event service URI. WSSubscriptionPolicySupport [boolean] Indicates whether or not WS Subscription policy is supported. WSPullPointSupport [boolean] Indicates whether or not WS Pull Point is supported. WSPausableSubscriptionManagerInterfaceSupport [boolean] Indicates whether or not WS Pausable Subscription Manager Interface is supported. Imaging - optional; [ImagingCapabilities] Imaging capabilities XAddr [anyURI] Imaging service URI. Media - optional; [MediaCapabilities] Media capabilities XAddr [anyURI] Media service URI. StreamingCapabilities [RealTimeStreamingCapabilities] Streaming capabilities. RTPMulticast - optional; [boolean] Indicates whether or not RTP multicast is supported. RTP_TCP - optional; [boolean] Indicates whether or not RTP over TCP is supported. RTP_RTSP_TCP - optional; [boolean] Indicates whether or not RTP/RTSP/TCP is supported. Extension - optional; [RealTimeStreamingCapabilitiesExtension] Extension - optional; [MediaCapabilitiesExtension] ProfileCapabilities [ProfileCapabilities] MaximumNumberOfProfiles [int] Maximum number of profiles. PTZ - optional; [PTZCapabilities] PTZ capabilities XAddr [anyURI] PTZ service URI. Extension - optional; [CapabilitiesExtension] DeviceIO - optional; [DeviceIOCapabilities] XAddr [anyURI] VideoSources [int] VideoOutputs [int] AudioSources [int] AudioOutputs [int] RelayOutputs [int] Display - optional; [DisplayCapabilities] XAddr [anyURI] FixedLayout [boolean] Indication that the SetLayout command supports only predefined layouts. Recording - optional; [RecordingCapabilities] XAddr [anyURI] ReceiverSource [boolean] MediaProfileSource [boolean] DynamicRecordings [boolean] DynamicTracks [boolean] MaxStringLength [int] Search - optional; [SearchCapabilities] XAddr [anyURI] MetadataSearch [boolean] Replay - optional; [ReplayCapabilities] XAddr [anyURI] The address of the replay service. Receiver - optional; [ReceiverCapabilities] XAddr [anyURI] The address of the receiver service. RTP_Multicast [boolean] Indicates whether the device can receive RTP multicast streams. RTP_TCP [boolean] Indicates whether the device can receive RTP/TCP streams RTP_RTSP_TCP [boolean] Indicates whether the device can receive RTP/RTSP/TCP streams. SupportedReceivers [int] The maximum number of receivers supported by the device. MaximumRTSPURILength [int] The maximum allowed length for RTSP URIs. AnalyticsDevice - optional; [AnalyticsDeviceCapabilities] XAddr [anyURI] RuleSupport - optional; [boolean] Obsolete property. Extension - optional; [AnalyticsDeviceExtension] Extensions - optional; [CapabilitiesExtension2]这个接口该怎么回复一个支持media2的报文
10-12
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值