技术文章 - CS389337
在 Windchill PDMLink 中配置 OAuth 委派授权后,无法登录 Windchill SSO,并出现错误“HTTP 状态 404 – 未找到”
已修改: 05-May-2025
适用于
- Windchill PDMLink 12.0.2.4 to 13.1
说明
- 配置 OAuth 委托授权后,无法登录 Windchill SSO,错误为“HTTP 状态 404 – 未找到”
- 在方法服务器日志中观察到以下错误:
ERROR [localhost-startStop-1] org.springframework.web.context.ContextLoader - Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'jwtTokenServices' defined in ServletContext resource [/WEB-INF/security/config/securityContext.xml]: Could not resolve placeholder 'wt.jwt.oauth2.token.jwtIdpType' in value "${wt.jwt.oauth2.token.jwtIdpType}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'wt.jwt.oauth2.token.jwtIdpType' in value "${wt.jwt.oauth2.token.jwtIdpType}"
at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:230)
at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:211)
at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:86)
这是文章 389337 的 PDF 版本,可能已过期。最新版本 CS389337