小编Dru*_*dik的帖子

java.lang.instrument ASSERTION FAILED 在为 spring boot 执行器添加依赖项后失败

我在intellij-idea中有一个java项目。我正在使用 gradle 来构建它。最近我添加了对 Spring Boot 执行器的依赖,从那以后我在启动时遇到这个错误:

*** java.lang.instrument ASSERTION FAILED ***: "!errorOutstanding" with message transform method call failed at JPLISAgent.c line: 844

在那之后我的应用程序仍在运行,但我想摆脱这个错误。

我试图在谷歌上找到答案,但我找不到任何答案。

我将不胜感激任何帮助。谢谢你。

java spring-boot-actuator

6
推荐指数
1
解决办法
4003
查看次数

Microsoft 应用 ID 和密码的用途是什么?

我正在尝试部署我的 Azure Bot 服务,但我有点难以理解 Microsoft 应用程序 ID 和密码的用途?有人可以向我解释这些术语吗?

我试图在网上找到答案,但没有成功。

感谢您的任何帮助。

deployment bots azure botframework

4
推荐指数
1
解决办法
2046
查看次数

使用 Spring Security 成功登录后服务器连接丢失

使用 Spring security 成功登录后,我将失去连接并且我的客户端正在尝试重新连接。这是我的配置文件:

@Configuration
@EnableWebSecurity
public class SecurityConfig extends WebSecurityConfigurerAdapter {

    @Autowired
    DataSource dataSource;

    @Autowired
    public void configAuthentication(AuthenticationManagerBuilder auth) throws Exception {
        auth.jdbcAuthentication().dataSource(dataSource)
                .usersByUsernameQuery(
                        "select nickname,password, true from client where nickname=?")
                .authoritiesByUsernameQuery(
                        "select username, role from user_roles where username=?");
    }

    @Override
    protected void configure(HttpSecurity http) throws Exception {
        http.authorizeRequests()
                .antMatchers("/login")
                .permitAll()
                .antMatchers("/*")
                .access("hasRole('ROLE_USER')");
        http.formLogin()
                .defaultSuccessUrl("/", true);
    }

    @Bean
    public static NoOpPasswordEncoder passwordEncoder() {
        return (NoOpPasswordEncoder) NoOpPasswordEncoder.getInstance();
    }
}
Run Code Online (Sandbox Code Playgroud)

我正在使用 vaadin 流。成功登录后,我的基本页面将显示,但之后它将断开连接,并将开始无限循环重新连接。

这是我的根页面的标题。

@Route(value = "")
public class BasePageView extends …
Run Code Online (Sandbox Code Playgroud)

java spring login spring-security vaadin

2
推荐指数
1
解决办法
1394
查看次数