반응형

분류 전체보기 1664

Springfox swagger-ui.html이 기본 URL을 추론할 수 없음 - 쿠키 누락으로 인해 발생함

Springfox swagger-ui.html이 기본 URL을 추론할 수 없음 - 쿠키 누락으로 인해 발생함 API Spring Boot Spring Boot.- 2.1에서는 Springfox - 2.1.2를 데가 없었습니다.swagger-ui.html스프링 부츠 1.4.3입니다. 1.로, 0으로 했습니다.「Boot 1.5.7」 「Springfox」 2.8.0 「Boot 1.5.7」 「Springfox 2.8.0. 페이지를 로드하면 다음과 같은 긴 메시지가 포함된 경보 상자가 나타납니다. 기본 URL을 유추할 수 없습니다.이는 동적 서블릿 등록을 사용하거나 API가 API 게이트웨이의 배후에 있을 때 흔히 볼 수 있습니다.기본 URL은 모든 스웨거 리소스가 제공되는 루트입니다.예를 들어 http://ex..

sourcecode 2023.02.23

AngularJS + 돛.js

AngularJS + 돛.js 백엔드와 앵귤러에 sails.js를 사용할 수 있는 앱을 개발 중입니다.프론트 엔드용 JS.Yoman-angular generator https://github.com/yeoman/generator-angular,을 사용하여 Angular App을 만들고 프런트 엔드 로직이 완성되면 다음을 사용하여 sails 앱을 만들까 생각했습니다. npm 설치 -g 돛 새로운 앱을 항해하다 그리고 내 Angular를 모두 전송한다.JS 파일을 돛 폴더에 저장합니다. 하지만 문제는 Angular가JS는 https://github.com/rishy/angular-jade-stylus-seed과 같은 폴더 계층을 생성하고 "grunt server"를 실행하면 최종 운영 버전을 포함하는 "di..

sourcecode 2023.02.23

스프링 부트 서버를 시작할 수 없습니다.

스프링 부트 서버를 시작할 수 없습니다. 스프링 부트는 처음이라 서버를 시작하려고 하면 다음과 같은 예외가 나타납니다.이것이 의존관계 갈등과 관련이 있다는 것은 이해하지만, 여전히 이해할 수 없습니다.나는 의존관계를 관리하기 위해 maven을 사용하고 있다.제발 도와주세요. Exception in thread "main" java.lang.IllegalArgumentException: LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Either remove Logback or the competing implementation (class org.slf4j.impl.Log4jLoggerFactory) Object ..

sourcecode 2023.02.23

인코딩된 암호가 BCrypt와 같지 않습니다.

인코딩된 암호가 BCrypt와 같지 않습니다. Spring Boot, Spring Security, OAuth2, JWT를 사용하여 어플리케이션을 인증하고 있는데, 이 끔찍한 오류가 계속 나타나서 뭐가 문제인지 모르겠어요.나의CustomDetailsService클래스: @Service public class CustomDetailsService implements UserDetailsService { private static final Logger logger = LoggerFactory.getLogger(CustomDetailsService.class); @Autowired private UserBO userBo; @Autowired private RoleBO roleBo; @Override publ..

sourcecode 2023.02.23

utf-8의 python jsonify 사전

utf-8의 python jsonify 사전 json 데이터를 utf-8로 가져오고 싶다. 리스트가 있습니다.my_list = [] 그리고 많은 사람들이 목록에 다음과 같이 유니코드 값을 추가합니다. my_list.append(u'ტესტ') return jsonify(result=my_list) 그리고 그것은 { "result": [ "\u10e2\u10d4\u10e1\u10e2", "\u10e2\u10dd\u10db\u10d0\u10e8\u10d5\u10d8\u10da\u10d8" ] } UTF-8 지원을 추가하려면 다음 설정을 사용합니다. app.config['JSON_AS_ASCII'] = False 대신 표준 라이브러리 모듈을 사용하여ensure_ascii키워드 파라미터는 부호화 시 False로..

sourcecode 2023.02.23

경고 .ts 파일을 삭제하는 방법은 TypeScript 컴파일의 일부이지만 사용되지 않습니다.

경고 .ts 파일을 삭제하는 방법은 TypeScript 컴파일의 일부이지만 사용되지 않습니다. angular로 했습니다.9.0.0-next.4루팅을 사용하지 않고 있는데 업데이트 후 갑자기 이 경고가 계속 표시됩니다.는 어떻게 합니까? 고의 src/war/angular/src/app/app-routing.module.tsTypeScript 컴컴일scriptscript 。tsconfig' 'files' 합니다. 패키지.json "dependencies": { "@angular/animations": "^9.0.0-next.4", "@angular/cdk": "^8.1.4", "@angular/common": "^9.0.0-next.4", "@angular/compiler": "^9.0.0-next.4", ..

sourcecode 2023.02.18

wp_filter는 태그에 영향을 주지 않습니다.</h2 ><p> 테마 <code> functions.php </code> 파일에 다음 필터를 추가했습니다.</p><pre> <code> 함수 변경_the_code() { 'My modified title'을 반환한다.}add_filter wp_filter', '..

wp_filter는 태그에 영향을 주지 않습니다. 테마 functions.php 파일에 다음 필터를 추가했습니다. 함수 변경_the_code() { 'My modified title'을 반환한다.} add_filter wp_filter', 'change_the_filter'; header.php : DOSCTYPE html>

sourcecode 2023.02.15

eslint: 대소문자 구분 없음 - 대소문자 블록의 예기치 않은 어휘 선언

eslint: 대소문자 구분 없음 - 대소문자 블록의 예기치 않은 어휘 선언 리듀서 내부에서 이 컨텍스트에서 상태를 갱신하는 가장 좋은 방법은 무엇입니까? case DELETE_INTEREST: let deleteInterests = state.user.interests; let index = deleteInterests.findIndex(i => i == action.payload); deleteInterests.splice(index, 1); return { ...state, user: { ...state.user, interests: deleteInterests } }; ESLint는 환원기 내부의 대소문자 블록에 문장을 삽입하는 것을 좋아하지 않습니다.이것에 의해, 다음과 같은 것을 얻을 수 있습..

sourcecode 2023.02.15

Mongoose를 사용하여 MongoDB 문서에서 키 삭제

Mongoose를 사용하여 MongoDB 문서에서 키 삭제 Mongoose 라이브러리를 사용하여 node.js를 사용하여 MongoDB에 액세스하고 있습니다. 문서에서 키를 제거할 수 있는 방법이 있습니까? 즉, 값을 null로 설정할 뿐만 아니라 제거할 수도 있습니다. User.findOne({}, function(err, user){ //correctly sets the key to null... but it's still present in the document user.key_to_delete = null; // doesn't seem to have any effect delete user.key_to_delete; user.save(); }); 이전 버전에서는 node-mongb-native ..

sourcecode 2023.02.15

dump()에 필요한 위치 인수 1개가 없음: python json의 'fp'

dump()에 필요한 위치 인수 1개가 없음: python json의 'fp' json 포맷을 예쁘게 하려고 하는데 다음 오류가 나타납니다. import requests as tt from bs4 import BeautifulSoup import json get_url=tt.get("https://in.pinterest.com/search/pins/?rs=ac&len=2&q=batman%20motivation&eq=batman%20moti&etslf=5839&term_meta[]=batman%7Cautocomplete%7Cundefined&term_meta[]=motivation%7Cautocomplete%7Cundefined") soup=BeautifulSoup(get_url.text,"html.par..

sourcecode 2023.02.15
반응형