从Spring Boot配置嵌入式Tomcat

时间:2019-11-09 20:51:25

标签: spring-boot tomcat embedded-tomcat-8

我正在搜索有关如何根据CIS安全基准强化嵌入式tomcat,如何配置CATALINAHOME,BASE以及如何使用策略配置安全管理器的方法。

我没有找到一种灵活的方法来将嵌入式tomcat配置为独立的tomcat。

有关定制嵌入式tomcat的任何帮助,而不是 APIErrorException Traceback (most recent call last) <ipython-input-38-889e8e1c61a7> in <module>() 1 single_face_image_url = 'https://www.biography.com/.image/t_share/MTQ1MzAyNzYzOTgxNTE0NTEz/john-f-kennedy---mini-biography.jpg' 2 single_image_name = os.path.basename(single_face_image_url) ----> 3 detected_faces = face_client.face.detect_with_url(url=single_face_image_url) 4 if not detected_faces: 5 raise Exception('No face detected from image {}'.format(single_image_name)) /usr/local/lib/python3.6/dist-packages/azure/cognitiveservices/vision/face/operations/_face_operations.py in detect_with_url(self, url, return_face_id, return_face_landmarks, return_face_attributes, recognition_model, return_recognition_model, detection_model, custom_headers, raw, **operation_config) 547 548 if response.status_code not in [200]: --> 549 raise models.APIErrorException(self._deserialize, response) 550 551 deserialized = None APIErrorException: (404) Resource not found 中受限制的配置。

0 个答案:

没有答案